clash.optimize.diagnose_network
Diagnose Clash network health by checking controller, adapter, profile, DNS, proxy groups, and connectivity. Returns a versioned report with findings, recommendations, and proposed actions without modifying configuration.
Instructions
v1.0-A: Read-only network diagnosis. Checks Controller, Adapter, active Profile, run mode, TUN, system proxy, listening ports, DNS, key proxy groups, connections, IPv6 capability, and basic connectivity. Returns a versioned report with facts, probes, findings, recommendations, and proposedActions. Does NOT modify any configuration. Uses predefined safe probe targets only (no arbitrary URL).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clash.optimize.diagnose_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skipProbes | No | Skip network probes (collect local facts only). Default: false. | |
| probeBudgetMs | No | Total probe budget in ms (default: 30000, max: 60000). |