Give the application an AI key
create_ai_keyCreates an OpenRouter API key, stores it as OPENROUTER_API_KEY in the app environment, and requires redeploy so the running app can use OpenRouter models via OpenAI-compatible clients.
Instructions
Create an OpenRouter key (hundreds of models, any OpenAI-compatible client at https://openrouter.ai/api/v1) and save it into the application as OPENROUTER_API_KEY. Then redeploy so the running app picks it up. The secret is not returned here: it is in the application's environment, which is where it belongs, and out of this transcript. A key on an empty wallet is disabled until the user tops it up.
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_ai_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A label for the key, like chatbot. |