n8n_create_credential
Create a credential for a specific node type to enable authenticated connections in n8n workflows.
Instructions
Create a new credential for a specific node type.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"type": "<type>",
"data": "<data>"
},
"name": "n8n_create_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Credential data | |
| name | Yes | Credential name | |
| type | Yes | Credential type (e.g., "httpBasicAuth") | |
| projectId | No | Project ID |