cancel_shell

Cancel a pending or ongoing shell command.

Cancel a pending or ongoing shell command.

Destructive · Writes data · Idempotent · Calls external systems. This tool can modify or delete data. Review the arguments before letting an agent call it.

Parameters

FieldTypeRequiredDescription
shell_idnumberYesShell command ID to cancel

Example arguments

Illustrative arguments an agent supplies when calling this tool:

{
  "shell_id": 0
}

Description

The command's status changes to Canceled and the runner task is terminated. Find active shell_ids via list_shell_actions.

What's next?

All MCP tools

Browse the full tool reference by category.

Connect a client

Point Claude, Cursor, or Claude Code at the server.

Last updated on