Find repositories
discoverLists repositories under configured roots and finds deeply nested repos so you can see which are missing from the fleet. Read-only; helps explain why a repo is not showing up.
Instructions
Which repositories cohors finds, and where, without reading them: every repo under the configured roots, each nested repo marked with the repo around it (nested_in). With deep: true it also searches inside every repo at any depth, marks the repos only that deep search reaches (deep_only), and says which of those the fleet does not show yet (in_fleet: false). The same rows cohors discover --json prints. Read-only: it never changes the config or what cohors remembers. When deep-only repos are missing from the fleet, add is the command for the USER to run (cohors discover --deep, which remembers them); after it every tool shows them, no restart needed. Use for "why isn't repo X showing up?" or "am I missing any repos?".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Also search inside every repo, at any depth (default false). Slower on a big tree. |