search_config
Find matching configuration paths by searching keys and values for a substring; results are ready for get/set_config_value operations.
Instructions
[READ] Search the config tree for a string; returns matching config paths (on caddy, directly usable by get/set_config_value).
Args: query: Case-insensitive substring to find in keys and values. target: Proxy target name from config; omit for the default.
Returns an envelope: {"matches": [...], "returned": N, "limit": L, "truncated": bool}. When "truncated" is true there is more than was returned — narrow the query rather than treating these as every match.
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": {
"query": "<query>"
},
"name": "search_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| target | No |