Capability catalogue
codereadfanout
repos.list
List repositories
Repositories the connection can reach (limited by the token and the connection's allowed list). Fans out across bindings.
Effect
read Fanout
yes
Cache TTL
none
Traits
none
Implemented by
GitHub, Azure DevOps
The tenant picks one of these when they bind this capability at install time. New implementations land as connectors ship — browse the connector catalogue.
Request arguments
Passed as the args parameter to ctx.capability.call("repos.list", …).
| Field | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | default: 30 · min: 1 · max: 100 |
| query | string | no | Optional text matched against name and description |
Response
Returned by ctx.capability.call("repos.list", …).
Array; each element is an object with the following fields.
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | no | |
| name | string | no | |
| repoId | string | yes | |
| private | boolean | no | |
| fullName | string | yes | Pass as repo to the other code capabilities |
| updatedAt | string | null | no | |
| description | string | null | no | |
| defaultBranch | string | null | no |
Example call
From inside your agent's handle(). The kernel resolves repos.list to the tenant's connector binding at invocation time.
response = await ctx.capability.call(
"repos.list",
args={
"limit": 30,
"query": "...",
},
)See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.