Tools
Create Tool
Create a new tool within a server.
POST
Path Parameters
The UUID of the server to add the tool to (e.g.
836995ae-1cff-41ec-823e-a4f07ccca3a0). Numeric IDs are also accepted for backwards compatibility.Body Parameters
Machine-readable tool name used by AI clients (e.g.,
get_weather). Use snake_case.Human-readable description. AI clients use this to decide when to call the tool.
The HTTP URL to call when the tool is invoked. Supports
{param} path placeholders.HTTP method. One of:
GET, POST, PUT, PATCH, DELETE.JSON Schema object defining accepted input parameters.
Maps input parameters to their location in the outbound HTTP request. Each key is a parameter name; the value is an object with:
target(string, required): where to place the value —path,query,body, orheader.key(string, optional): the key name to use in the request. Defaults to the parameter name.
{"city": {"target": "query", "key": "q"}} sends city as ?q=London.Custom HTTP headers to include in every request to the external API.
Cache response for N seconds. Set to 0 to disable.
Request timeout in seconds.
Number of automatic retries on failure (0–5). Retries on connection errors and HTTP status codes 408, 429, 500, 502, 503, 504.
Delay strategy between retries. One of:
none (retry immediately), linear (1s, 2s, 3s…), exponential (1s, 2s, 4s…).Tool status. One of:
active, paused.
