oc_openapi_inspect
Extract operations from a JSON OpenAPI document at a URL or engagement-relative path to inventory API endpoints, avoiding manual grep, jq, or Python parsing.
Instructions
Extract operations from a JSON OpenAPI document at a URL or engagement-relative path. Prefer this over grep, jq, or Python when the task is OpenAPI operation inventory.
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": {
"engagement_id": "<engagement_id>",
"source": "<source>"
},
"name": "oc_openapi_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| timeout | No | ||
| engagement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||