skip to main content
Browse documentation

Custom endpoints & tool availability

Add capabilities the assistant can call beyond your discovered routes, and control which users each tool is offered to.

Sometimes you want the assistant to do something that isn’t a plain discovered route, or to limit who can reach a tool. Two pages cover this.

Custom endpoints

Define capabilities by hand, in whichever shape fits. Each can be enabled, disabled, or deleted:

  • REST β€” a standard HTTP endpoint, with a method, path, and inputs.
  • GraphQL β€” a query or mutation.
  • gRPC β€” a service method.
  • Webhook β€” an endpoint invoked as a webhook.
  • Form-flow β€” a multi-step form the assistant can complete.

Tool availability rules

Control which users a tool is even offered to. Each rule has a simple and an advanced mode:

  • Simple β€” require sign-in, require specific scopes (matching all or any), and match on identity or host-context attributes.
  • Advanced β€” write the rule as raw JSON for full control.

Next steps