Analyze Function
analyze_functionBuilds a dossier for a native function by symbol or address, including identity, pseudocode, assembly, calls, references, CFG blocks, and API boundary data.
Instructions
Build a dossier for one native function identified by symbol or provider-returned address. Returns identity with complete inclusive analyzed body ranges or explicit unknown, provider-specific pseudocode and assembly, comments, calls, references, referenced strings/names, local CFG blocks, and available native API boundary observations. Ghidra terminal-call assumptions that may cut the analyzed body are reported in limitations with available callee identities. Default detail summary returns a compact dossier (identity, pseudocode size, facet counts, value-flow availability) and retains the complete dossier Evidence in this session; page pseudocode, references, assembly, comments and value-flow through normalized_result.parent_evidence_id with inspect_analysis_view. detail complete returns the full dossier inline.
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": {
"procedure": "<procedure>"
},
"name": "analyze_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | summary (default) returns a compact dossier and retains the complete analyze_function Evidence in this session; page pseudocode, references and value-flow through normalized_result.parent_evidence_id with inspect_analysis_view. complete returns the full dossier inline. | |
| procedure | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | ||
| provider | Yes | ||
| authority | Yes | ||
| locations | Yes | ||
| operation | Yes | ||
| confidence | Yes | ||
| parameters | Yes | ||
| raw_result | Yes | ||
| environment | Yes | ||
| evidence_id | Yes | ||
| limitations | Yes | ||
| evidence_links | Yes | ||
| predicate_type | Yes | ||
| analysis_profile | Yes | ||
| caller_input_path | No | ||
| normalized_result | Yes | ||
| caller_input_paths | No | ||
| relationship_coverage | Yes |