n8n_get_credential_schema
Retrieve required authentication fields and format specifications for credential types to prepare data before creating credentials in n8n workflows.
Instructions
Get required fields and format for a credential type before creating it. Returns field names, types, and whether fields are required. Use this to understand what authentication data is needed.
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": {
"credentialType": "<credentialType>"
},
"name": "n8n_get_credential_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credentialType | Yes | Credential type (e.g., githubApi, googleDriveOAuth2Api, httpBasicAuth) |