Skip to main content
Custom tools let Visito call your backend when the AI needs live business data or needs to trigger an approved action. Common examples include looking up an order status, creating a support ticket, checking loyalty points, or updating a customer profile. All endpoints use the M2M base URL:

Tool Model

A tool describes what the AI can call, the JSON input it should provide, and the HTTP endpoint Visito will invoke.
parameters should be a JSON Schema object. Visito uses it to decide when the tool is relevant and to shape the input sent to your endpoint.

Create a Tool

Requires the tools:write scope.
Secrets are not returned after creation. Responses only include whether auth is configured and the last four characters when available.

List and Read Tools

Requires tools:read.
Read one tool:

Update or Delete a Tool

Update one or more fields:
Requires tools:write.
Delete a tool:

Test a Tool

Use the test endpoint before enabling a tool in production conversations.
Requires tools:execute.

Execution Logs

Use logs to audit AI tool calls and diagnose backend failures.
Requires tools:logs:read.
Read one log:

Endpoint Requirements

  • Your endpoint must be reachable from Visito’s backend.
  • Supported methods are GET and POST.
  • Return JSON whenever possible.
  • Keep tool responses concise and structured for AI use.
  • Use readOnly: true for lookup tools that should never mutate state.
  • Use tool-specific auth secrets instead of broad internal credentials.