create_secret
Creates an encrypted tenant secret for referencing as secret_ref in API tools, MCP servers, and trigger callbacks; save the plaintext before submitting because it is not returned.
Instructions
Create an encrypted tenant secret. Save its value before submitting; plaintext is not returned afterward. Reference its name as secret_ref in API tools, MCP servers and trigger callbacks. Names starting with platform/ are reserved.
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>",
"value": "<value>"
},
"name": "create_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique tenant secret name, such as ERP_API_KEY or CRM_WEBHOOK_TOKEN | |
| value | Yes | Valor plaintext a ser criptografado (ex: a API key ou o token) | |
| category | No | Secret category, for organization only; database is a legacy category | api |
| usage_hint | No | Informational usage hint, such as bearer_token, api_key, password or oauth_client. Does not change runtime behavior. | |
| description | No | Description of the secret purpose |