needfix_convert
Converts an accepted NeedFix into a task card and can preview and commit a task plan in one call, refusing invalid or drifted plans.
Instructions
Convert an accepted NeedFix into a task card; task_plan alone commits in one call.
With task_plan and no plan_digest this previews the plan and, only when
the preview is convertible with no input refusal, commits it with the digest
that preview returned, in the same call. A captured or triaged NeedFix whose
task_plan names non-empty allowed_writes is auto-promoted to accepted (reason
auto_promoted_by_convert) first. Any refusal returns the preview and commits
nothing. plan_digest alone also commits the exact plan its preview signed;
a digest this server no longer holds is refused with previewed_plan_unavailable.
The digest re-check is unchanged, so NeedFix drift still fails closed.
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": {
"needfix_id": "<needfix_id>"
},
"name": "needfix_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_plan | No | Task card fields as in needfix_preview_convert. Given without plan_digest, the plan is previewed and committed in one call. | |
| needfix_id | Yes | NeedFix id, e.g. NF-2026-01447. | |
| plan_digest | No | plan_digest from the matching needfix_preview_convert; optional when task_plan is given. A digest this server no longer holds is refused. | |
| include_plan | No | Return the plan body verbatim instead of a summary of its identity and counts; default false. |