chim_save_api_key
Store the CHIM API key in the local config file so the CHIM MCP Server can authenticate requests. Optionally set base URL and user agent.
Instructions
Stores the CHIM API key in the user config file (~/.config/chim-mcp/config.json).
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": {
"api_key": "<api_key>"
},
"name": "chim_save_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | CHIM API key to store locally. | |
| base_url | No | Optional override for the CHIM API base URL. | |
| user_agent | No | Optional override for the User-Agent header. |