get_shell_result

Get the full result of a shell command.

Get the full result of a shell command.

Read-only · Calls external systems. Safe to call: this tool does not modify data.

Parameters

FieldTypeRequiredDescription
shell_idnumberYesShell command ID (from send_shell_command)

Example arguments

Illustrative arguments an agent supplies when calling this tool:

{
  "shell_id": 0
}

Description

Use after send_shell_command to check status and retrieve output. Poll until status is terminal (Done/Timeout/Blocked/Canceled/Maintenance). For USSD: check if session is OPEN or CLOSED — if OPEN, send follow-up input with send_shell_command to navigate the menu.

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