program.mode.set
Switch a Ghidra session between read-only and read-write mode to control whether reverse-engineering changes can be applied and saved.
Instructions
Switch a session between read-only and read-write mode.
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>"
},
"name": "program.mode.set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read_only | No | ||
| session_id | Yes | ||
| deterministic | No |