Get Package Source
get_package_sourceBrowse a ZK-Kit package's source: get the full directory tree or read any file's content, such as source code, type definitions, or tests.
Instructions
Browse source code of a ZK-Kit package. Without filePath, returns the full directory tree. With filePath, returns the file content. Use this to read source code, type definitions, tests, or any file in a package.
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_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (e.g., '@zk-kit/lean-imt', 'lean-imt') | |
| filePath | No | Relative path to a file within the package (e.g., 'src/index.ts') |