Save a drafted story privately before asking
save_story_draftCall it when the confirm answer's share.save is present: right after you draft the story and BEFORE you show it and ask, and again after the user asks for an edit. It publishes nothing and counts nothing: the draft waits on the user's own page /me/stories ("Waiting for your OK"), where they can post it later, with or without their GitHub name, or discard it. If they say Post now, call post_story (or post_story_anonymous) as usual, with the same rounds_survived; the saved draft then goes. Send rounds_survived here as you would to post_story: the saved draft posts from /me with it, and a later save without it keeps it. The answer's saved says whether it was kept; when not, reason is off, invalid, unavailable or gone, and note says it for the user. A hunt this key may not tell (not the account's, no confirmed real bug), a text with a secret, a contact or the account's names, and a revoked or expired key are refused with an error, as post_story refuses them.
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": {
"review_id": "<review_id>",
"text": "<text>"
},
"name": "save_story_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The defect, in English: exactly 2 sentences, 40-220 chars, approved by the user. What could break and why nothing caught it. Anonymised – no repo, paths, routes, vendors, ticket numbers or test counts. | |
| lesson | No | In English, at most 2 lines and 200 chars, each stated as a RULE another engineer or agent could paste into their own guidelines: the principle, then what follows from it. This is the half people keep – write it. | |
| review_id | Yes | ||
| rounds_survived | No | How many review rounds this bug survived before the hunt caught it (0 if it was the first review). Be honest: this is the score. |