Creates a new web tool for a project. Web tools can be of type FUNCTION, MCP, or WEB_TOOL.
Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token
The type of web tool to create
FUNCTION, MCP, WEB_TOOL "FUNCTION"
The name of the web tool
250"Get Weather Data"
A description of what the web tool does
1000"Fetches current weather data for a given location"
Optional collection ID to group the web tool
"48f7656f-098b-4c43-b165-7cfd2cc8ac30"
Whether the tool runs asynchronously. Required for FUNCTION type, not allowed for MCP type.
false
Server configuration for the web tool. Required for FUNCTION and MCP types, not allowed for WEB_TOOL type.
Messages to display during tool execution
OpenAPI-style schema defining the parameters for the web tool. Not allowed for MCP type.