Prepare Action
prepare_actionPreview or commit one draft-safe proposal from a Signal Center event. The event, not the caller, selects the only allowed action descriptor. First call without previewReceipt/idempotencyKey to validate and receive a bound receipt; repeat the identical call with both values to create the proposal. This never executes the resulting ActionItem or changes signal trust mode. Requires Write scope plus the live actions.prepare capability; client-pinned credentials cannot prepare tenant-scoped ActionItems in this phase.
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": {
"eventId": "<eventId>",
"expectedVersion": "<expectedVersion>",
"proposal": "<proposal>"
},
"name": "prepare_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | Yes | Signal Center event id returned by list_open_actions. | |
| proposal | Yes | Exactly one typed proposal branch; the event determines which branch is legal. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt. | |
| previewReceipt | No | Receipt returned by the preview call; omit on preview. | |
| expectedVersion | Yes | Opaque event version returned by list_open_actions/get_action_context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| result | No | ||
| effects | No | ||
| warnings | No | ||
| expiresAt | No | ||
| operation | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No | ||
| allowedNextActions | No |