request_key
Ask the owner for a key (API key, token, client secret) runnerID does not have yet, or a new value for one it has (replace: true). The owner gets a secure one-time link by email and pastes it there; the value goes straight into the vault and never passes through you or your chat. Never ask the owner to paste a key into chat. Returns request_id. Then call wait_for_key; once fulfilled, use the key by name (get_key, send_key_to_render).
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": "request_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name the key is saved under, 1 to 120 characters, such as TELNYX_API_KEY. Use it later to name the key. | |
| note | No | Optional words for the owner, shown on the page and in the email, such as where to find the key. Never a secret. | |
| site | No | Optional host the key belongs to, shown to the owner. | |
| replace | No | Ask for a new value for a key already saved under that name. | |
| identity_id | No | Identity to use. Omit when the account has exactly one identity. |