Capability catalogue
issuesread
issues.get
Get an issue with its comments
One issue or work item, with its comments. Goes to a single binding.
Effect
read Fanout
no
Cache TTL
none
Traits
none
Request arguments
Passed as the args parameter to ctx.capability.call("issues.get", …).
| Field | Type | Required | Description |
|---|---|---|---|
| repo | string | no | |
| issueId | string | integer | yes |
Response
Returned by ctx.capability.call("issues.get", …).
| Field | Type | Required | Description |
|---|---|---|---|
| body | string | no | |
| repo | string | no | |
| state | string | yes | |
| title | string | yes | |
| issueId | string | yes | |
| comments | array<object> | no |
Example call
From inside your agent's handle(). The kernel resolves issues.get to the tenant's connector binding at invocation time.
response = await ctx.capability.call(
"issues.get",
args={
"repo": "...",
"issueId": "...",
},
)See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.