improve_prompt
Rewrite a field's text to work better as an AI system prompt; returns the improved text.
field ∈ persona | task | greeting | storyline_task | storyline_opening
| storyline_ai_trigger | storyline_ai_criteria
| skill_description | skill_instructions | kb_description | kb_instructions
— determines the rewrite target (a Task should read like commands, a KB description says
"what's inside / when it's relevant", a skill description says "when to use" in one line, …).
current = the current text (empty = draft from scratch); hint = the direction you want this
time (empty = general polish); context = on-site context (which KB is being edited, values of
sibling fields) — the more specific, the better the fit.
Returns only the improved text, no explanation, no wrapper — the caller places it next to the
original for a human to accept or reject.
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>"
},
"name": "improve_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| field | Yes | ||
| context | No | ||
| current | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |