Improve prompt
improve_promptRewrite a generation prompt and get the result back at once. mode "improve" (default) returns { originalPrompt, improvedPrompt }, a more detailed prompt for better output; "rephrase" returns { originalPrompt, rephrasedPrompt }, the same idea worded differently. Nothing is generated or saved. Spends chat credits per call. context is accepted but not used in either mode. Use get_prompt_suggestions for fresh ideas instead.
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>",
"llm_model": "<llm_model>"
},
"name": "improve_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | improve | |
| prompt | Yes | The prompt to rewrite. | |
| context | No | Ignored by the server in both modes. | |
| chatModel | No | Optional Bedrock model id; defaults to Claude Sonnet. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |