doctor
Detects data integrity issues in oldId/newId mappings, file paths, and link targets. Repairs them when action='fix' is specified.
Instructions
doctor() - checks project data integrity (oldId/newId, files[] paths, link targets).
doctor() read-only diagnostics (default) doctor(action='fix') automatically repairs any issues found
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| help | No | ||
| action | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |