Read a source package
read_packageA one-page app (poll, form, sign-up sheet) needs no package; alloy (thousands of lines) is for larger sites, auth for sign-in. READ one Ferrite source package. Without file: its version, module root, dependency closure in install order, its files (paths as they land in your app), its guide (README and setup), and use, the exact steps to compile it in: the crate-root lines for src/lib.rs, the packages argument for code_gate and deploy_source, and any Cargo features or spec entries it needs. With file (a path from that list, or README.md): that file's text as it lands in your app; a large file comes in parts, continued with offset.
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": "read_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | a path from the package's file list (e.g. src/crypto/mod.rs), or README.md | |
| name | Yes | a package name from list_packages, optionally name@version | |
| offset | No | with `file`: the byte offset to continue from (the previous reply's next_offset) |