Get Deprecation Plan
get_deprecation_planGet the deprecation plan of one endpoint or published version, including its phase, sunset date, successor and migration guide. Returns null when nothing is deprecated. Set includeUsage to also see whether anyone still calls it — do that before retiring. 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>",
"entityType": "<entityType>",
"entityId": "<entityId>"
},
"name": "get_deprecation_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Public ID (GUID) of the API specification | |
| entityId | Yes | Public ID (GUID) of that endpoint or version | |
| entityType | Yes | What is deprecated: 'endpoint' or 'specVersion' | |
| includeUsage | No | Also return recent traffic and top consumers (default false) | |
| usageDaysBack | No | How many days of usage to look back (default 30) |