Execute Metasploit Command
execute-commandRun any raw Metasploit command directly to operate the framework and complete security testing tasks.
Instructions
Execute a raw Metasploit 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": {
"command": "<command>"
},
"name": "execute-command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The Metasploit command to execute |