code_workspace_claude_session_action
Perform actions on Claude workspace sessions, including tagging, forking, deleting, interrupting, and more.
Instructions
Perform a Claude SDK session action.
Args: action: One of: tag, fork, delete, interrupt, mcp/reconnect, mcp/toggle, rewind, tasks/stop, compact, rename body: JSON object payload (action-specific, e.g. {"tag": "..."} for tag).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | ||
| session_id | Yes | ||
| action | Yes | ||
| body | No | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |