n8n_get_credential_schema
Retrieves the JSON schema for an n8n credential type, showing required fields, types, and defaults so you can prepare correct credential data before creation.
Instructions
Get the JSON schema for a credential type — shows required fields, types, and defaults. Use this before creating credentials to know exactly what data fields to pass.
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": {
"typeName": "<typeName>"
},
"name": "n8n_get_credential_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | Credential type (e.g. 'openAiApi', 'mongoDb', 'telegramApi', 'httpHeaderAuth') |