Create secret
create_secretCreate an organisation secret whose value Ankra generates - a random value nobody sees, you included - for a credential that only has to match between the parts that use it (a database password, a signing key, a shared token). Answers with the secret's ${SECRET_SLOT:} sentinel; put the sentinel where the value belongs and Ankra resolves and seals it at deploy. The secret has no expiry: it stays until a person deletes it. It never takes a value: for a secret the person already has, use request_secret.
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>"
},
"name": "create_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for the secret, unique in the organisation, e.g. 'langfuse-db-password' (at most 120 characters, one line). | |
| length | No | Optional length of the generated value, 16 to 96 characters. Defaults to the platform's minted length. | |
| prefix | No | Optional fixed text the generated value starts with, when the consumer expects one (e.g. 'sk-'). | |
| description | No | Optional note on what the secret is for (at most 240 characters). |