discover_cli
Probe a command-line tool's behavior to map its help structure, options, arity, and value types, producing a confirmed interface spec instead of relying on help prose.
Instructions
Discover a CLI's interface: help structure confirmed by behavior probes. Help prose is kept as dirty-side evidence only; the result is structure (options, arity, value types).
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": {
"cmd": "<cmd>"
},
"name": "discover_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | ||
| takes_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||