resume_command
Returns the exact shell command and directory to reopen a saved coding-agent session in its native CLI; it does not execute the command.
Instructions
Get the exact shell command (and the directory to run it from) that reopens a session in its own agent CLI. This tool only returns the command string; it never executes anything.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "resume_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | session id from list_sessions, or 'latest' for the most recent session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| cwd | No | directory to run the command from | |
| file | No | where the session is stored | |
| note | No | ||
| command | Yes | exact shell command that resumes the session; run it in a terminal, showagent never executes it | |
| provider | Yes |