ai_prompt_improve
Prompt improver — Rewrite a prompt so an LLM gives better results: clear task and goal, context, output format, constraints and success criteria, placeholders for missing details (never invents facts). Returns the improved prompt, list of changes, issues found, questions to answer, before/after scores and token estimates. Price: $0.006 USDC (Base, via x402).
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": "ai_prompt_improve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | What you want the output to achieve (optional) | |
| style | No | concise | balanced | detailed (default balanced) | |
| prompt | Yes | Prompt to improve (required, max 8000 chars) | |
| target | No | Target model name (optional) |