Docs

Create Tool

Creates a new tool in Vapi.

POST

Body

Arguments
stringrequired

Discriminator value: apiRequest

array of object

These are the messages that will be spoken to the user as the tool is running.

For some tools, this is auto-filled based on special fields like tool.destinations. For others like the function tool, these can be custom configured.

stringrequired
number

This is the timeout in seconds for the request. Defaults to 20 seconds. @default 20

string

The credential ID for API request authentication

array of string

This is the paths to encrypt in the request body if credentialId and encryptionPlan are defined.

string

This is the name of the tool. This will be passed to the model. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 40.

string

This is the description of the tool. This will be passed to the model.

stringrequired

This is where the request will be sent.

object
object
object
object
object
array of object

Static key-value pairs merged into the request body or function arguments. Values support Liquid templates.

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.