Create an issue
create_issueCreate a GitHub issue and immediately add its task to the aictrl backlog. The repository must be connected and live-authorized. Search for duplicates first with query_context (domain: issues, action: list, query: search words, params: {repoFullName: owner/repo}). Call only after the user explicitly asks to file the issue and confirms the repository, title and body. Uses existing labels, issue types and an open milestone (number or exact title); milestone is required because imported tasks are grouped by milestone. Returns url, issue_number and task_id. This write is not idempotent: do not blindly retry after a transport failure; search for the issue first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organization_id": "<organization_id>",
"repository_full_name": "<repository_full_name>",
"title": "<title>",
"body": "<body>",
"milestone": "<milestone>"
},
"name": "create_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| type | No | ||
| title | Yes | ||
| labels | No | ||
| milestone | Yes | Existing open milestone number or exact title. Required for the importer epic mapping. | |
| organization_id | Yes | ||
| repository_full_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| task_id | Yes | ||
| issue_number | Yes |