locus_ingest_github
Fetch markdown files from a GitHub repository and index them into Locus for search; configure branch, subdirectory, file pattern, and token for private repos.
Instructions
Fetch markdown files from a GitHub repository and index them. Fetches the file tree, downloads matching files, and calls locus_index. Requires a GITHUB_TOKEN env var or token param for private repos.
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": {
"repo": "<repo>"
},
"name": "locus_ingest_github"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Sub-directory within repo. | |
| repo | Yes | owner/repo | |
| token | No | GitHub PAT (or set GITHUB_TOKEN env var). | |
| branch | No | main | |
| pattern | No | *.md | |
| store_path | No | .locus |