Get Spec Usage In Docs
get_spec_usage_in_docsFind which documentation versions embed a given API specification to identify stale snapshots after publishing. Lists Draft/Review versions by default; optionally include published ones.
Instructions
Find which documentation versions embed a given API specification — read this after publishing a spec to see which snapshots are now stale. By default only mutable (Draft/Review) doc versions are listed; set includePublished to also see the live ones. Requires project context.
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": {
"specId": "<specId>"
},
"name": "get_spec_usage_in_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | The public Id (Guid) of the API specification | |
| includePublished | No | Also list published doc versions, not just mutable ones (default false) |