Create Provider Credential
lyzr_create_provider_credentialCreate a credential for a Lyzr provider to store API keys, tokens, or other secrets. Returns the new credential_id for immediate use.
Instructions
Create a credential for a Lyzr provider (e.g. a database or SaaS integration). Returns the new credential_id.
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>",
"provider_id": "<provider_id>",
"type": "<type>",
"credentials": "<credentials>",
"meta_data": "<meta_data>"
},
"name": "lyzr_create_provider_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Credential name | |
| type | Yes | Credential type | |
| scope | No | Optional scope for the credential | |
| meta_data | Yes | Arbitrary metadata to store alongside the credential | |
| credentials | Yes | The credential key/value payload (e.g. API keys, tokens) | |
| provider_id | Yes | The provider id this credential is for |