Files
Adam Holt a26079a4b1
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
Add open world hints for tools.
Tools that return user generated content should have open world hints,
to allow clients to inform users that the content may be untrusted and
prompt them to approve the request before executing it.
2025-12-30 13:47:36 +01:00

88 lines
2.3 KiB
Plaintext

{
"annotations": {
"title": "Create or update issue."
},
"description": "Create a new or update an existing issue in a GitHub repository.",
"inputSchema": {
"type": "object",
"properties": {
"assignees": {
"type": "array",
"items": {
"type": "string"
},
"description": "Usernames to assign to this issue"
},
"body": {
"type": "string",
"description": "Issue body content"
},
"duplicate_of": {
"type": "number",
"description": "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'."
},
"issue_number": {
"type": "number",
"description": "Issue number to update"
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Labels to apply to this issue"
},
"method": {
"type": "string",
"description": "Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n",
"enum": [
"create",
"update"
]
},
"milestone": {
"type": "number",
"description": "Milestone number"
},
"owner": {
"type": "string",
"description": "Repository owner"
},
"repo": {
"type": "string",
"description": "Repository name"
},
"state": {
"type": "string",
"description": "New state",
"enum": [
"open",
"closed"
]
},
"state_reason": {
"type": "string",
"description": "Reason for the state change. Ignored unless state is changed.",
"enum": [
"completed",
"not_planned",
"duplicate"
]
},
"title": {
"type": "string",
"description": "Issue title"
},
"type": {
"type": "string",
"description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter."
}
},
"required": [
"method",
"owner",
"repo"
]
},
"name": "issue_write"
}