get_current_function
Retrieves the function that contains the address currently selected in Ghidra, letting analysts identify and inspect the active function during reverse engineering.
Instructions
Get the function containing the address currently selected in the Ghidra GUI.
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": "get_current_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||