Skip to main content
POST
List tools
Returns the tools of one assistant, both kinds, newest first.
This read is a POST because a list query is a document: agent_id, page, size and search arrive typed as themselves instead of being coerced from a query string. It changes nothing.

Body

string
required
UUID of the assistant whose tools you want. There is no list of every tool in the workspace.
number
default:"1"
1-based page number. Pass back pagination.next_cursor from the previous response.
number
default:"10"
Page size, between 1 and 100.
Case-insensitive substring of tool_name, 1–255 characters. Leave it out for no filter: an empty string is rejected.
boolean
true lists only the native tools. true is the only value it takes: leave it out to list both kinds.

Request

Response

200 OK. Standard envelope plus pagination: see Responses. Each item is a whole tool object, its secrets masked. next_cursor is the next page number, or null on the last page. Stop there: a page past the last one is not an empty list. It answers 500 INTERNAL_ERROR, and sending it again does not help.

Errors