getFile
Retrieve file content from a gittr repository without cloning it. Specify owner, repo, file path, and optional branch to fetch a file directly.
Instructions
Get file content without a full local clone. Tries gittr bridge file-content, then a few hardcoded GRASP /raw/ hosts. Not full Code-tab parity (no 30617 clone[] / repo-files for home remotes) — prefer bridgeListFiles after importRemoteToBridge/mirrorRepo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch name (default: main) | |
| repoId | Yes | Repository ID | |
| filePath | Yes | Path to file (e.g., "README.md") | |
| ownerPubkey | Yes | Repository owner pubkey |