msf_console_read
Read and drain available Metasploit console output, returning the data, prompt, and busy status so agents can monitor console activity and detect pending work.
Instructions
Consume available console output; returns data, prompt, and busy status.
Reads drain the console's output buffer. busy=false is a snapshot, not proof that a just-submitted command has completed or that a job has ended.
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": {
"console_id": "<console_id>"
},
"name": "msf_console_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| console_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||