lean_c_ffi_inspect
Inspect Lean @[extern] declarations and C implementations, retrieve sysroot include flags, or jump to C functions for FFI cross-language analysis.
Instructions
Cross-language C FFI inspector: Lean @[extern] declarations, C implementations, and Lean sysroot include flags
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": "lean_c_ffi_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | FFI inspection action (default: inspect) | |
| externName | No | Optional Lean @[extern] identifier or C function name |