chap.control.pause
chap.control.pausePause a task, stop new assignments to a participant, or freeze a workspace while keeping audit and resume actions available.
Instructions
Pause work. Scoped to a task it moves that task to paused; to a participant it stops new tasks being assigned to them; to the workspace it refuses every method except describing, reading the audit log, joining, leaving and resuming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Participant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'. | |
| scope | No | What the pause applies to. 'task' moves one task to 'paused'; a task that is completed, declined, cancelled or superseded is refused with -32061. 'participant' stops new tasks being assigned to that member and leaves their existing work running. 'workspace' refuses every method except workspace.create, workspace.describe, control.resume, audit.read, participant.join and participant.leave. | task |
| reason | No | Why the pause was applied. Recorded in the audit entry. | |
| task_id | No | Task identifier returned by chap.task.create. | |
| workspace | Yes | Workspace identifier, e.g. 'wsp_techcorp_support'. | |
| participant_uri | No | Whose work to pause, when scope is 'participant'. Must be a workspace member. | |
| in_flight_policy | No | Recorded with the request, and echoed back when scope is 'participant'. The coordinator does not act on it: under either value, work already under way is left alone. |