patch.assemble
Assemble instruction text at a target address and write the resulting machine-code bytes into the current Ghidra session.
Instructions
Assemble instruction text at an address and write the resulting bytes.
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": {
"session_id": "<session_id>",
"address": "<address>",
"assembly": "<assembly>"
},
"name": "patch.assemble"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| assembly | Yes | ||
| session_id | Yes |