search_api
Find FortiOS API endpoints by keyword in the FortiGate schema, covering config and monitor. Use it to reach settings not covered by dedicated tools, then call the appropriate config or monitor tool.
Instructions
Find FortiOS API endpoints by keyword, from the FortiGate's own schema: configuration (cmdb, e.g. 'bgp' -> router/bgp) and live state (monitor, e.g. 'ha peer' -> system/ha-peer). Use it to reach any setting no dedicated tool covers, then describe_config, get_config, set_config or get_monitor.
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_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | cmdb, monitor or both (default both) | |
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| limit | No | Maximum results (default 20) | |
| query | Yes | Keywords, e.g. 'ospf area', 'syslog', 'ipsec phase1' |