Skip to content
Konstera
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", …).

FieldTypeRequiredDescription
limitintegerno
default: 30 · min: 1 · max: 100
querystringnoOptional text matched against name and description

Response

Returned by ctx.capability.call("repos.list", …).

Array; each element is an object with the following fields.

FieldTypeRequiredDescription
urlstringno
namestringno
repoIdstringyes
privatebooleanno
fullNamestringyesPass as repo to the other code capabilities
updatedAtstring | nullno
descriptionstring | nullno
defaultBranchstring | nullno

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.