create_session
Start a new Radare2 analysis session by loading a binary file or attaching to a process ID, with optional write and debug modes for reverse engineering.
Instructions
Create a new Radare2 session.
Args: file_path: Path to binary file to analyze pid: Process ID to attach to write_mode: Enable write mode debug_mode: Enable debugger mode session_name: Optional session name (auto-generated if not provided)
Returns: Session information
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| file_path | No | ||
| debug_mode | No | ||
| write_mode | No | ||
| session_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| bits | No | ||
| endian | No | ||
| file_path | No | ||
| session_id | Yes | ||
| write_mode | No | ||
| is_debugger | No | ||
| architecture | No |