add_config_item
Append one value to a Pi-hole array setting and preview the change unless confirmation is set.
Instructions
Append one value to an array setting, e.g. element='dns.upstreams', value='1.1.1.1'. Preview unless confirm=true.
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": {
"element": "<element>",
"value": "<value>"
},
"name": "add_config_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| confirm | No | ||
| element | Yes | ||
| restart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||