Capability catalogue
issueswrite
issues.create
Create an issue
Open a new issue (GitHub) or work item (Azure DevOps). 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.create", …).
| Field | Type | Required | Description |
|---|---|---|---|
| body | string | no | |
| repo | string | no | |
| title | string | yes | |
| labels | array<string> | no |
Response
Returned by ctx.capability.call("issues.create", …).
| Field | Type | Required | Description |
|---|---|---|---|
| ok | boolean | yes | |
| url | string | null | no | |
| repo | string | no | |
| issueId | string | yes |
Example call
From inside your agent's handle(). The kernel resolves issues.create to the tenant's connector binding at invocation time.
response = await ctx.capability.call(
"issues.create",
args={
"body": "...",
"repo": "...",
"title": "...",
"labels": [],
},
)See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.