apply_suggestion
Applies a pending suggestion by setting it as the active system prompt and incrementing the iteration counter for automated prompt optimization loops.
Instructions
Apply a pending suggestion: sets it as the active system prompt and increments the iteration counter.
Only call in fully automated loop mode (loop_optimization, loop_regression). In gated mode, wait for the user to approve via the UI.
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": {
"workspaceId": "<workspaceId>",
"suggestionId": "<suggestionId>"
},
"name": "apply_suggestion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | ||
| suggestionId | Yes | ID from post_prompt_suggestion response |