Tools are the new way to build on-demand functions in Nango. They replace actions.
A tool is a function your backend or AI agent calls on demand for reads, writes, or operations that combine several API calls. Compared to actions, tools:
- Have typed input and output: Nango validates the input against the schema before the tool runs.
- Read connection metadata and save checkpoints: Declare
data.metadata or data.checkpoint schemas and the tool gets them at call time.
- Carry instructions and required scopes: Agents learn when and how to use the tool from the definition itself.
Follow the tools guide to build and deploy a tool, then call it from agent sessions, API, SDK or the Management MCP server.
Actions are deprecated. Existing action functions and the action APIs keep working. See migrate from actions to tools.
Add Nango to your agent