Set LLM key
set_llm_keySet (or clear, with key=null) the LLM provider API key an instance uses to answer. Required before a freshly created instance can actually respond.
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": {
"id": "<id>",
"provider": "<provider>",
"key": "<key>"
},
"name": "set_llm_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Instance (agent) id, as returned by create_instance or list_instances. | |
| key | Yes | The provider API key. Stored encrypted, never echoed back. | |
| model | No | Model id to use with this provider (e.g. gpt-4o-mini). Optional; the engine defaults if omitted. | |
| provider | Yes | LLM provider id, e.g. openai, anthropic, deepseek. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Instance (agent) id. | |
| name | Yes | Display name. | |
| tier | Yes | Hosting plan id. | |
| a2aUrl | Yes | A2A JSON-RPC endpoint for the instance, or null if A2A is not enabled. | |
| domain | Yes | Customer-owned domain serving the instance, or null. | |
| engine | Yes | Runtime engine id (e.g. hermes). | |
| status | Yes | Lifecycle status (e.g. running, stopped). | |
| createdAt | Yes | ISO timestamp when the instance was created. | |
| endpointUrl | Yes | Public HTTPS endpoint for the instance, or null if not yet assigned. |