Capability catalogue
issueswrite
issues.comment
Comment on an issue
Add a comment to an issue or work item. Needs write permission on the token. Goes to a single binding.
Effect
write Fanout
no
Cache TTL
none
Traits
none
Request arguments
Passed as the args parameter to ctx.capability.call("issues.comment", …).
| Field | Type | Required | Description |
|---|---|---|---|
| body | string | yes | |
| repo | string | no | |
| issueId | string | integer | yes |
Response
Returned by ctx.capability.call("issues.comment", …).
| Field | Type | Required | Description |
|---|---|---|---|
| ok | boolean | yes | |
| url | string | null | no | |
| issueId | string | no | |
| commentId | string | null | no |
Example call
From inside your agent's handle(). The kernel resolves issues.comment to the tenant's connector binding at invocation time.
response = await ctx.capability.call(
"issues.comment",
args={
"body": "...",
"repo": "...",
"issueId": "...",
},
)See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.