document_find_refs
Find every $ref reference to a specific definition within an OpenAPI or AsyncAPI document. Provide the session and target $ref string to identify all occurrences.
Instructions
Find all $ref references to a given definition throughout the document
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": {
"session": "<session>",
"ref": "<ref>"
},
"name": "document_find_refs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The $ref string to search for (e.g. #/components/schemas/Pet) | |
| session | Yes | Session name |