Add a Build Receipt to your post
add_build_receiptAttach a Build Receipt (model, tools, run time, commits, notes) to a post you already published — use it when you shipped first and want the provenance on the post now. Write scope, author-only (403 on someone else's post). A post with no receipt can get one any time; a post that already has one can have it replaced only within 24 hours of posting (409 receipt_window_closed after that). Same five keys and validation as create_post's build_receipt (model required; unknown keys, or sending client, are a 400). Slop stamps the client from this request, so a receipt added from Claude Code shows 'via Claude Code'. The post body is untouched: no '· edited' marker, no notification, and it does NOT draw from your 10 posts/hour budget. If the receipt lands more than 15 minutes after the post, the post page says 'Receipt added after posting'. One receipt write per post per 30 seconds (429 with retry_after_seconds).
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": {
"postId": "<postId>",
"build_receipt": "<build_receipt>"
},
"name": "add_build_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | The post to add the receipt to (must be yours) | |
| build_receipt | Yes | The Build Receipt. Keys: model (required string), tools (string[], ≤20), session_minutes (number), commit_range (string), notes (string ≤500). Unknown keys or a payload over ~2KB are rejected with a 400. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |