Skip to main content
POST
Update Tool

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The unique identifier of the tool to update.

Body Parameters

All fields are optional. Only fields included in the request body will be updated.
string
The name the AI will see when deciding to use this tool.
string
Description of what the tool does.
string
The integration key to update. Must be one of: bland-sms, custom-code, slack, salesforce, rest_api, hubspot, calendly, cal-com-v2, notion.
string
The action key to invoke within the integration. To discover available action keys, call GET /v1/integrations/{integration}/actions. Returns 400 ACTION_NOT_FOUND with the list of valid actions if the key is invalid.
object
Must be a valid OpenAI function calling parameter schema. Defines the parameters the AI will fill in when invoking this tool.
string | object
Request body template sent to the integration.
string
Text the AI says aloud while executing this tool.
number
Maximum time in milliseconds to wait for the integration. Minimum 1000, maximum 60000.
boolean
Whether to cache the tool’s response.
array
Defines which fields to extract from the integration response.
number
Number of times to retry the tool on failure. Minimum 0, maximum 4.
number
Seconds to wait between retries. Minimum 1, maximum 30.
string
UUID of a connected resource (e.g. a Slack workspace or Salesforce org) to scope this tool to. The resource must be active and belong to your account. Returns 404 if the ID is invalid or inactive. To list available resource IDs for an integration, call GET /v1/integrations/{integration}/resources.
boolean
Whether this tool is publicly visible.
string
Human-readable label for this tool.

Response

string
"success" on success, "error" on failure.
string
The ID of the updated tool.
null|array
null on success, or a list of error objects if the request failed.

Docs for agents: llms.txt