adaptix_agent_raw_command
Runs a full command line on an agent and parses it to expose validation errors, useful for positional-argument commands such as link and unlink where queued execution cannot detect bad arguments.
Instructions
Run a command line on an agent through POST /agent/command/raw, which PARSES the whole line and returns a parse/validation error in message. Use this for commands whose arguments are positional — link smb <host> <pipe>, link tcp <host> <port>, unlink <id> — because adaptix_agent_command_execute answers ok:true with an empty message even when nothing was dispatched, so it cannot tell a bad argument from a queued command.
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>",
"cmdline": "<cmdline>"
},
"name": "adaptix_agent_raw_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmdline | Yes | Full command line, e.g. "link smb 10.10.132.146 ms01pipe1". | |
| agent_id | Yes | Agent id from adaptix_agent_list. |