Reference

Custom tools

Give your agents a new capability without writing platform code: a custom tool is a declarative HTTP call you define in the app, that runs through the same approval gate, guardrails and audit log as any built-in tool.

What a custom tool is

A custom tool is a declarative HTTP-call definition that an agent can call to reach an external system: a method, a URL, and optional headers, query parameters and body. There is no code-execution surface. Request fields are built from validated agent input by simple {token} substitution, never an expression language or arbitrary code.

When you save a tool, SyftOS registers it in your tenant's tool registry under the namespaced slug custom.{slug}. From that point it behaves exactly like a native tool. It can be assigned to agents, and every call is governed.

Custom tools are for organisations that need to wire in an API SyftOS does not yet support natively. If a system already has a built-in integration or an MCP server connection, prefer that.

Defining a tool

From the custom tools list, choose to add a tool and complete the authoring form. The key fields are:

Authentication and credentials

Authentication is optional — a tool calling a public API needs none. To authenticate, supply an auth type (API key or OAuth) and a token. The token is write-only: it is validated, optionally verified, then stored encrypted at rest in a dedicated credential vault and is never echoed back to any screen, prop, job payload or audit entry.

Verify before saving

You can ask SyftOS to verify a candidate before it is stored. Verification screens the endpoint against the SSRF guard and dry-tests the live call using sample input you provide. If it fails, you get a validation error against the URL and nothing is saved — no definition, no credential. The URL is also SSRF-screened at save time and re-screened on every real call.

Governance, risk and permissions

Two governance fields are mandatory, mirroring native tool registration:

The entire surface (viewing, creating, editing, verifying and deleting) is gated by the Manage integrations permission, which only owners and admins hold. Custom tools belong to your tenant: another tenant's tool is never visible and resolves as not found. Every create, update and delete is written to the append-only audit log, and the edit page shows the recent history for that tool.

Deleting a tool removes it from the registry so agents can no longer call it.

Next steps