Get Package API
get_package_apiFetch a ZK-Kit package's main entry file to inspect its public API surface across TypeScript, Rust, Solidity, Circom, or Noir without browsing the full source tree.
Instructions
Fetch the main entry/export file for a ZK-Kit package. Returns the primary API surface: src/index.ts for TypeScript, src/lib.rs for Rust, the main contract for Solidity, the main circuit for Circom/Noir. Use this to quickly understand a package's public API without browsing the full source tree.
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": {
"name": "<name>"
},
"name": "get_package_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (e.g., '@zk-kit/lean-imt', 'lean-imt') |