Consume Agent Suggestion
consumeAgentSuggestionApply a suggestion: stage its change into the Agent's draft revision, then auto-clear any pending suggestions it makes moot.
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": {
"id": "<id>"
},
"name": "consumeAgentSuggestion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The suggestion's unique identifier | |
| revision_id | No | ||
| create_new_draft | No | ||
| selected_automation_revision_id | No | The automation revision this edit is being made at. Pass a draft and the edit is folded into that draft itself; pass the active revision and the edit lands on a draft branched from it. A historic revision is rejected — it cannot be activated from without an explicit rebase. A revision belonging to a different automation is ignored, and the edit targets the automation the addressed agent belongs to. Omit to target the automation's active revision. |