These paths share the Agent’s tool-calling interface, but they do not share an
execution or credential boundary.
Built-in tools
agent_toolset scopes tools the harness already knows how to run. No Connection
or ToolSource is involved.
Connected tools
A connected tool crosses Checkfu’s gateway. Three resources keep the concerns separate:- A Connection authorizes one provider account. Its credential stays in the selected custody boundary and is never returned to the Agent, harness, or sandbox.
- A ToolSource discovers callable operations and their input schemas.
- The Agent references selected tools by catalog name.
Connect a provider account
Authorize an account, wait for the Connection to become healthy, and discover its tools.
Custom tools
A Custom tool is declared inline, but your application executes it:agent.tool_use and parks the Run. Your
application reads the call, executes it, and sends user.custom_tool_result to
continue the same Session. Checkfu makes no outbound provider request and holds
no credential for this path.
Serve tools from your app
Define, sync, and execute a Custom tool with the TypeScript SDK.
Which path should I use?
- Use a built-in tool when the harness already owns the operation.
- Use a connected tool when Checkfu should govern the provider account and enforce account, approval, and egress policy, attaching the credential only at the trusted outbound edge.
- Use a Custom tool when the operation belongs to your application’s code or network boundary.