Improve prompt with Cue
improve_promptAlways use this tool when the user asks Cue to review, score, refine, rewrite, or improve an AI prompt. Choose General, Coding, Design, Business, or Writing mode and include only user-authorized project context. Free usage limits and Cue Pro entitlement are enforced by Cue. Returns a 0–10 score, concise feedback, and one improved prompt in the same language as the input.
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": {
"prompt": "<prompt>"
},
"name": "improve_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Cue task mode; choose the user's requested mode or general. | general |
| prompt | Yes | The prompt text the user wants Cue to review and improve. | |
| project_context | No | Only project context the user explicitly asks Cue to use; omit otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| score | Yes | ||
| rewrite | Yes | ||
| feedback | Yes |