VocalDocscontracts 1.65.0

ToolCreateRequest

Creates a Tool at revision 1 (1.49.0). The api checks the name, the parameters, the response schema and, for an http Tool, the URL through the egress guard, and refuses every issue in one 422 validation_failed; type mcp is refused with capability_not_available and nothing is stored.

An object with 10 fields.

Fields

FieldTypeRequiredDescription
annotationsToolAnnotationsInputno
descriptionstringyesModel-facing: what the Tool does and when to use it.
fillerToolFillerInput or nullnoNone when omitted.
httpHttpToolConfigInputnoRequired for an http Tool and refused for any other type.
idempotentbooleannoA repeat is harmless: the guard may retry after a connection failure or a 502, 503 or 504, and the request carries an Idempotency-Key derived from the Call and the Tool call. False when omitted.
nameToolNameyes
parametersToolParametersyes
response_schemaToolResponseSchema or nullnoNone when omitted.
timeout_msintegerno5,000 when omitted.
typeToolTypeyes

Used by

The operations whose parameters, request body or responses name this shape directly.