Reject a plan revision
reject_plan_revisionReject a pending plan revision when the coach decides against it. Nothing on any calendar changes and no one is notified; feedback is stored with the revision. Rejecting a revision that is no longer pending changes nothing.
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": {
"revision_id": "<revision_id>"
},
"name": "reject_plan_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedback | No | Why it was rejected; stored with the revision. | |
| revision_id | Yes | revision_id from propose_plan_revision or list_plan_revisions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| error | No | ||
| notes | No | ||
| scope | No | ||
| org_id | No | ||
| reason | No | ||
| source | No | ||
| status | No | ||
| message | No | ||
| privacy | No | Present when the athlete's settings withhold data. | |
| coach_id | No | ||
| warnings | No | ||
| next_step | No | What can be done next, for example after a failure. | |
| applied_at | No | ||
| athlete_id | No | ||
| created_at | No | Epoch milliseconds. | |
| operations | No | ||
| updated_at | No | ||
| apply_error | No | ||
| next_cursor | No | Reads the next page; null on the last page. | |
| reason_code | No | ||
| reviewed_at | No | ||
| revision_id | No | ||
| total_weeks | No | ||
| user_content | No | Fields in this result that people wrote. | |
| applied_at_iso | No | The epoch field beside it as a UTC instant; the local day can differ. | |
| coach_feedback | No | ||
| created_at_iso | No | The epoch field beside it as a UTC instant; the local day can differ. | |
| updated_at_iso | No | The epoch field beside it as a UTC instant; the local day can differ. | |
| weeks_returned | No | ||
| reviewed_at_iso | No | The epoch field beside it as a UTC instant; the local day can differ. | |
| plan_instance_id | No | ||
| truncated_fields | No | Lists cut to fit one response: rows returned and total. | |
| generated_content | No | Fields in this result that NexRex's AI wrote. | |
| operation_results | No | ||
| session_definitions | No | Sessions that several rows of this result share by session_ref. | |
| content_block_fields | No | Column names of every content_blocks row, nested blocks rows included. |