Create organization tool
Create a tool in an organization.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <API_KEY>, where API_KEY is your API key.
Path parameters
orgId
Organization that will own the tool.
Headers
X-Account-Id
Account that owns the organization.
Request
This endpoint expects an object.
name
Tool name. 1-64 characters of letters, digits, underscores or hyphens (no spaces). This is the name the assistant uses to call the tool.
method
The HTTP method the tool uses.
Allowed values:
url
The HTTP endpoint the tool calls.
description
Human-readable description of what the tool does.
headers
HTTP headers to send with the request, JSON-Schema-shaped: a type plus properties keyed by header name, each header being a type and value. Header values are masked when the tool is read back.
requestSchema
JSON Schema of the request payload the tool sends.
responseSchema
JSON Schema of the fields to extract from the tool JSON response.
aliases
Named values created from the tool response. Each value is a Liquid template; the response body is available as $ (for example, $.data.id).
Response
The created tool.
tool
The newly created tool.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error

