Refine a photo frame design
refine_frameAsk for a changed version of a frame in an existing design thread — 'darker', 'less ornament', 'make the flowers smaller', 'more gold'. Call it with the threadId that check_generation returned for start_frame, and ONLY when the operator asks for a change: every call spends part of the account's free daily allowance, so never iterate on your own initiative. It returns immediately with a job id; call check_generation for the new preview. Earlier versions in the thread stay available to save_frame, so a change the operator dislikes loses nothing.
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": {
"threadId": "<threadId>",
"prompt": "<prompt>"
},
"name": "refine_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What to change. It is read with the whole thread as context, so 'the same but darker' works. State the change and nothing else, starting from the operator's own words: what changes, to what, and what to keep if that matters ('background to deep green #1F3B2D, keep the motifs where they are'). Turn a vague word into a concrete change ('more festive' → which colour, motif or density moves). Do not restate the original design or add mood or praise words. | |
| threadId | Yes | The design thread, from check_generation's result for start_frame. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| note | No | ||
| what | Yes | ||
| error | No | ||
| jobId | Yes | ||
| state | Yes | ||
| threadId | No |