apply_astrbot_config_ops
Apply batch edits to AstrBot configurations with set, add_key, and append operations, then automatically save and hot reload the updated config.
Instructions
Apply multiple edits to an AstrBot config, then save + hot reload.
Supported ops (batch in a single tool call):
{"op":"set","path":,"value":}
{"op":"add_key","path":<parent_path>,"key":,"value":}
{"op":"append","path":<list_path>,"value":}
path accepts dot path, JSON Pointer, or segment list.
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": {
"conf_id": "<conf_id>",
"ops": "<ops>",
"create_missing": "<create_missing>"
},
"name": "apply_astrbot_config_ops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conf_id | Yes | ||
| ops | Yes | ||
| create_missing | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||