N8n Get Workflow
n8n_get_workflowGet one workflow's detail by id from your n8n instance, name, active state, node list (which integrations it uses), tags, timestamps. Get the id from n8n_list_workflows. Requires your instance_url + n8n API key (_apiKey).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"_apiKey": "your-n8n-api-key",
"workflow_id": "123",
"instance_url": "https://n8n.example.com"
},
"name": "n8n_get_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | Yes | REQUIRED, your n8n API key (Settings -> n8n API -> Create an API key). Sent as the X-N8N-API-KEY header. No shared key exists for this pack. | |
| workflow_id | Yes | The workflow id, from n8n_list_workflows. | |
| instance_url | Yes | REQUIRED, your n8n instance base URL, e.g. "https://you.app.n8n.cloud" (n8n Cloud) or "https://n8n.example.com" (self-hosted). Must be a public https URL. |