For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Updates the specified fields of the tool identified by its ID.
Authentication
AuthorizationBearer
Authenticate server-side requests with a private Vapi API key. Create or copy a key from the Vapi Dashboard and send it in the Authorization header as Bearer <token>. Keep private API keys out of client-side code and public repositories.
Path parameters
idstringRequiredformat: "uuid"
The unique identifier of the tool.
Request
This endpoint expects an object.
apiRequestobjectRequired
Fields used to update an API Request Tool, including its URL, HTTP method, authentication, request data, and response handling.
OR
dtmfobjectRequired
Fields used to update a DTMF tool, including its spoken messages, rejection plan, and SIP INFO behavior.
OR
endCallobjectRequired
Fields used to update an end-call tool, including its spoken messages and rejection plan.
OR
functionobjectRequired
Fields used to update a custom function tool, including its function definition, server, parameters, messages, and execution behavior.
OR
knowledgeBaseobjectRequired
OR
transferCallobjectRequired
Fields used to update a call-transfer tool, including its destinations, spoken messages, and rejection plan.
OR
handoffobjectRequired
Fields used to update a handoff tool, including its destinations, function definition, default result, messages, and rejection plan.
OR
bashobjectRequired
Fields used to update a Bash tool, including its name, environment subtype, server, messages, and rejection plan.
OR
computerobjectRequired
Fields used to update a computer tool, including its display settings, environment subtype, server, messages, and rejection plan.
OR
textEditorobjectRequired
Fields used to update a text-editor tool, including its name, environment subtype, server, messages, and rejection plan.
OR
queryobjectRequired
Fields used to update a query tool, including its knowledge bases, spoken messages, and rejection plan.
OR
google.calendar.event.createobjectRequired
Fields used to update a Google Calendar event-creation tool, including its spoken messages and rejection plan.
OR
google.sheets.row.appendobjectRequired
Fields used to update a Google Sheets row-append tool, including its spoken messages and rejection plan.
OR
google.calendar.availability.checkobjectRequired
Fields used to update a Google Calendar availability tool, including its spoken messages and rejection plan.
OR
slack.message.sendobjectRequired
Fields used to update a Slack message tool, including its spoken messages and rejection plan.
OR
smsobjectRequired
Fields used to update an SMS tool, including its spoken messages and rejection plan.
OR
mcpobjectRequired
Fields used to update an MCP tool, including its server, connection metadata, exposed tool messages, and rejection plan.