refine_prompt
Refine an AI prompt by providing answers to blocking questions or manual edits, then re-run analysis to get an updated preview pack.
Instructions
Refine a prompt by answering blocking questions or providing manual edits. Re-runs analysis and returns updated PreviewPack.
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": {
"session_id": "<session_id>"
},
"name": "refine_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID from optimize_prompt | |
| answers | No | Answers to blocking questions: { question_id: answer } | |
| edits | No | Manual edits or additional context to incorporate | |
| target | No | Change output target |