osirAppSetSecret
osirAppSetSecret: Set an environment secret for an Osir app (e.g. DATABASE_URL, API_KEY). The value is stored encrypted and injected as an env var on the next osirAppDeploy of the app; it is NEVER returned or logged. Requires authentication.
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": {
"appId": "<appId>",
"key": "<key>",
"value": "<value>"
},
"name": "osirAppSetSecret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Environment variable name, e.g. 'API_KEY'. | |
| appId | Yes | App id from osirAppList. | |
| value | Yes | The secret value; never returned or logged. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |