End Agent Sandbox
end_agent_sandboxEnd a sandbox session: submit preserves the fork for human review and merge, while discard deletes the fork and all changes. Merging is a human decision.
Instructions
End the sandbox session. action='submit' keeps the fork for human review and merge (at /cm/forks/{id}); action='discard' permanently deletes the fork and all its changes. Agents cannot merge their own sandbox — merging is a human decision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 'submit' keeps the fork and hands it to a human for review/merge; 'discard' deletes the fork and every change in it. |