Agent tool
Fetch one custom tool at its current version. The secret is never returned.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Custom agent tool id (UUID), as returned by the list/create agent tools endpoints.
Response
AgentCustomTool
a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Tool name, unique within the team: 1-64 characters of a-z, 0-9 and underscore. The model sees it as custom__; tool policies address it as custom. or the custom capability.
^[a-z0-9_]{1,64}$a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$The current version number.
What the tool does and when to use it; shown to the model (1-1024 characters).
1 - 1024JSON Schema (draft 2020-12 subset) with type "object" describing the arguments. Calls whose arguments do not validate are rejected before the request is made. At most 16 KiB.
Optional JSON Schema the parsed JSON response must satisfy; a non-conforming response is reported to the model as a tool failure. null for no check.
How the tool is called: an http request (GET or POST) to an https endpoint, with optional static headers and an optional stored secret. Agent calls send an Idempotency-Key header that stays the same if the run retries the same call; make POST endpoints honour it to avoid duplicate side effects.
Whether an encrypted secret is stored for this version. The secret itself is never returned.
When true every call needs human approval before it executes. Until an approval handler is wired the call is refused ("needs approval; approval flow not yet available") and never executes. The admin test endpoint is not gated.
Per-call timeout in milliseconds (1000-60000).
1000 <= x <= 60000a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$When the tool was created (ISO-8601 UTC).
When the tool last changed (ISO-8601 UTC).