mcp_config_write
Update an agent's global configuration dynamically, including webhook URLs, logging settings, and API key, with changes applied immediately.
Instructions
Update agent's global configuration dynamically. These are the ungrouped (root) field names; the agent routes each into its group (webhook_url -> notifications.webhook, webhook_key -> notifications.webhook_key, docs_enabled/logs_enabled/log_days -> settings), so a read afterwards shows them nested. log_days controls how long log entries are kept (0-30, clamped; 0 clears the log immediately and keeps only the last hour). docs_enabled is Pi-only. Changing api_key changes the agent's authentication key immediately, and also updates the local config.json file to match automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| agent | Yes | ||
| api_key | No | ||
| log_days | No | ||
| webhook_key | No | ||
| webhook_url | No | ||
| docs_enabled | No | ||
| logs_enabled | No |