diagnose_prompt
Read a field and return a list of specific improvement suggestions (string array).
field: same values as improve_prompt. current = the text to diagnose (required — an empty text
has nothing to diagnose). Typical flow: diagnose_prompt first, pick the suggestions you want,
then fold them into improve_prompt's hint.
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": {
"field": "<field>",
"current": "<current>"
},
"name": "diagnose_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| context | No | ||
| current | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |