Get a credential type's data schema
n8n_get_credential_schemaFetch the JSON schema for a credential type to see required fields before creating a credential.
Instructions
Get the JSON schema (which fields are needed) for a credential type, e.g. 'slackOAuth2Api'. Use this before n8n_create_credential to know what data to send.
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": {
"credentialTypeName": "<credentialTypeName>"
},
"name": "n8n_get_credential_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credentialTypeName | Yes |