task/stop
Stops one named background task; the kill settles durably and the item folds a terminal.
Parameters
Section titled “Parameters”Type: TaskStopParams
task/stop params: stop one named background task. Required
target, never “whichever is loudest” — §3.15 is the blanket verb.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
commandId |
string |
required | The idempotency handle (UUIDv7). | |
sessionId |
string |
required | The target session. | |
taskId |
string |
required | The task to stop, the toolCall item’s itemId. |
Source
schema/msp/experimental/msp.schema.json#/methods/task~2Fstop
{ "description": "Stops one named background task; the kill settles durably and the item folds a terminal.", "params": { "$ref": "#/$defs/TaskStopParams" }, "result": { "$ref": "#/$defs/TaskCommandResult" }}