Agent Tools
Create agent custom tool
Changed onCreate a new user-defined agent tool. Pass draft=true to generate a tool definition from a natural-language description without persisting it.
post/api/v0/agent/tools
Request
- Base URLhttps://api.outerport.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
draftboolean
When true, generate a tool definition without saving.
Request body
Response
Successful Response
Changes
- info
added to the response body
anyOflist for the response status - info
removed from the response body
anyOflist for the response status
- info