developer
Use this agent for any n8n development task - frontend (Vue 3), backend (Node.js/TypeScript),…
This document lists the built-in tools that the runtime attaches to an agent. It explains what each tool does and when the runtime attaches it.
$ npx -y skills add n8n-io/n8n --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
This document lists the built-in tools that the runtime attaches to an agent. It explains what each tool does and when the runtime attaches it.
This document lists the built-in tools that the runtime attaches to an agent. It explains what each tool does and when the runtime attaches it.
The runtime attaches these tools in [`agent-runtime-reconstruction.service.ts`](./agent-runtime-reconstruction.service.ts). The main entry points are `injectRuntimeDependencies` and `attachTopLevelTools`.
Keep the number of built-in tools low. Each built-in tool goes into the context of every agent run. A long tool list costs tokens and makes tool selection harder for the model.
Attach condition: The sandbox is on and the agent is not an inline agent. The runtime attaches them through `agent.workspace(...)` in `attachWorkspaceAndKnowledge`. A delegated sub-agent gets the same tools scoped to its own folder in the parent workspace.
Source: [`packages/@n8n/agents/src/workspace/tools/`](../../../../@n8n/agents/src/workspace/tools/).
| Tool | Purpose | | --- | --- | | `workspace_read_file` | Reads a file from the workspace. | | `workspace_read_tool_result` | Reads the full result of an earlier tool call. | | `workspace_write_file` | Writes a file to the workspace. | | `workspace_str_replace_file` | Replaces a string in a workspace file. | | `workspace_append_file` | Appends content to a workspace file. | | `workspace_list_files` | Lists the files in the workspace. | | `workspace_file_stat` | Returns metadata for a workspace file. | | `workspace_mkdir` | Creates a directory in the workspace. | | `workspace_delete_file` | Deletes a file from the workspace. | | `workspace_copy_file` | Copies a file in the workspace. | | `workspace_move_file` | Moves a file in the workspace. | | `workspace_rmdir` | Removes a directory from the workspace. | | `workspace_execute_command` | Runs a shell command in the sandbox. | | `workspace_list_processes` | Lists the processes that run in the sandbox. | | `workspace_kill_process` | Stops a process in the sandbox. |
See the [dedicated section](#mark_session_failed-session-outcomes).
Attach condition: Top-level agent and background tasks on. Background tasks are on when `AgentsConfig.backgroundTasksEnabled` is set and the caller does not pass `allowBackgroundTasks: false`. Scheduled and manually started task runs pass `false`. Human-in-the-loop resume support does not change this condition. It only controls whether workflow tools move waiting workflows to the background.
Source: [`background/background-job-tools.ts`](./background/background-job-tools.ts).
| Tool | Purpose | | --- | --- | | `check_background_jobs` | Lists the background jobs of the conversation with their status and results. | | `cancel_background_job` | Cancels a running background job by its job id. | | `resume_background_jobs` | Resumes jobs from the latest user stop. |
Use `delegate_subagent` with `mode: "background"` to start a background sub-agent.
Fair-code platform to build and deploy AI agents and workflows. Combine a visual canvas with custom code, run it self-hosted or in the cloud, and connect to 1500+ integrations. AI automation you can trust with real work, from prototype to production.
Repo: n8n-io/n8n
Use this agent for any n8n development task - frontend (Vue 3), backend (Node.js/TypeScript),…
Use this agent proactively when a Linear issue is created, updated, or needs comprehensive…
`Agent.promptCaching()` generates provider-specific `providerOptions` for Anthropic and…
An accepted preview turn continues when its browser connection closes. This applies to new…
This guide explains how to add chat platform integration tests for agent channel…
This document defines reusable Agent interface patterns in this module. Add patterns as the…