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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | ||
| suggestionId | Yes | ID from post_prompt_suggestion response |