Run a tool in an external task
Changed onQueue a tool call for an external task you own. Use a tool name and input schema from listTaskTools. This runs the selected tool without an Adam agent or model loop; tools may provision compute, use connected accounts or credentials, and incur usage charges. Poll getToolCall for the outcome. An unknown outcome must not be retried with a new key because the operation may have taken effect.
Request
- Base URLhttps://api.adam.new
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://api.adam.new/auth/oauth2/authorizeToken URLhttps://api.adam.new/auth/oauth2/tokenScopestasks:write, tools:execute
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Headers
Required unique key for this tool call. Reuse it with the same task, tool and input to retrieve the original call rather than execute it again.
Request body
Response
Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - info
response property
call/finishedAtlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response202 - info
response property
call/startedAtlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response202
- breaking
- info
endpoint added
- info