Get a list of all tool calls

get/toolCalls

Returns a list of the tool calls.

Request Samples

Response Samples

1{
2 "count": 1,
3 "items": [
4 {
5 "cost": 0.0001,
6 "id": "079b46b9-fbc4-44ce-8cb1-163330e4d812",
7 "input": {
8 "question": "Is the openai/gym repository related to AI agents?"
9 },
10 "output": {
11 "content": [
12 {
13 "text": "Yes, the openai/gym repository is directly related to AI agents.",
14 "type": "text"
15 }
16 ],
17 "isError": false,
18 "structuredContent": {
19 "result": "Yes, the openai/gym repository is directly related to AI agents."
20 }
21 },
22 "parentQueryId": "19c0e653-28f5-49da-aa34-7ade481b362e",
23 "toolName": "ask_question",
24 "toolServerId": "de772bda-8756-41a8-9c68-defe2932bdad"
25 }
26 ],
27 "limit": 50,
28 "name": "toolCalls",
29 "start": 0
30}

Query Parameters

NameTypeRequiredDescription
filter
string or null
false

The criteria for filtering. Supported attributes include id, toolServerId, toolName and parentQueryId. Additional attributes might be added in future releases.

limit
integer
false

The maximum number of records to be returned. >= 1 or <= 100

Default:
50
start
integer
false

The zero-based offset of the first record to be returned. >= 0

Default:
0

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid.

Schema
401Unauthorized

The user was not authenticated.

Schema
422Unprocessable Entity

The server understands the request but was unable to process the contained instructions.

Schema