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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A label for the key, like chatbot. |