feedback_submit
Publish a confirmed feedback draft by handling user approval, GitHub authorization, and posting; returns the published URL or a prefilled GitHub link when direct submission isn't possible.
Instructions
Publish a draft from feedback_draft, once the user confirms it in the client's own dialog.
The dialog shows where it goes, the title, the content hash and the stored text; the user's Accept there publishes at once, Decline sends nothing and keeps the draft. When neither the user's gh nor an earlier authorization can publish, a second dialog has the user authorize OS's GitHub App on github.com (a code to enter); the post then goes out. "authorizing": the user has not finished yet; call again when they say so (no new question, same code). Without a dialog (not supported, cancelled, unanswered for five minutes) nothing is sent and you get a prefilled GitHub link instead: give it to the user, who submits on GitHub. After publishing, tell the user the URL.
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": {
"draft_id": "<draft_id>"
},
"name": "feedback_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | The draft_id returned by feedback_draft |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||