Skip to main content
This endpoint allows you to update an existing mid call tool. All fields are optional - only provide the fields you want to update.

Path Parameters

id integer required The unique identifier of the tool to update

Body Parameters

For tools linked to an Automation Platform flow, the endpoint, method, and body_format fields are ignored to protect the flow connection.
name string Tool name — letters, numbers and underscores, starting with a letter or underscore (max 64 characters) description string Detailed explanation of when and how the AI should use this tool (max 255 characters) endpoint string Valid URL of the API endpoint to call (max 2048 characters) method string HTTP method: GET, POST, PUT, PATCH, or DELETE body_format string Request body encoding for write methods: json (default) or form timeout integer Request timeout in seconds (1-30) headers array HTTP headers to send with the request (replaces existing headers) headers properties name string required Header name value string required Header value (supports {{variable}} substitution) static_fields array Fixed key/value pairs always sent with the request (replaces existing static fields) static_fields properties key string required Field key (max 64 chars) value string Field value (max 2048 chars; supports {{variable}} substitution) schema array Parameters schema (replaces existing schema) schema properties name string required Parameter name (1-64 chars, starts with a letter or underscore) type string required Parameter type: string, number, float, or boolean description string required Parameter description (3-255 chars) required boolean Whether the AI must collect this parameter (default false)

Response fields

message string Success message data object The updated tool object with all current values
200 OK
404 Not Found
422 Validation Error

Managing Tool Assignments

To attach or detach this tool from assistants, use the Assistant API:
  • Create Assistant - Use the tool_ids parameter to attach tools when creating an assistant
  • Update Assistant - Use the tool_ids parameter to manage which tools are assigned to an assistant