n8n_get_credential_schema
Retrieve the JSON schema for any n8n credential type to identify required fields before creating a credential.
Instructions
Fetch the JSON schema for a credential type via GET /credentials/schema/{credentialTypeName}. Returns the raw JSON Schema document describing the required data shape (e.g. freshdeskApi requires { apiKey, domain }). Use this BEFORE calling n8n_create_credential so you know what fields to populate. 404 on unknown type returns { ok: false, reason: 'not_found' }. 401 surfaces the admin/owner role requirement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credentialTypeName | Yes | n8n credential type name (e.g. 'githubApi', 'slackOAuth2Api'). |