run_shell_command
Execute commands on a running agent via the default shell interpreter, enabling remote system control for penetration testing.
Instructions
Execute a shell script command line against a running agent. This script is executed using the default command line interpreter.
Args:
agent_id: ID of agent to execute command on
command_line: A command to be executed
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": {
"agent_id": "<agent_id>",
"command_line": "<command_line>"
},
"name": "run_shell_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| command_line | Yes |