Execute a ChurchTools plan
ct_execute_planExecutes previously previewed ChurchTools write plans after user approval, using a one-time token and re-reading records to prevent concurrent modifications.
Instructions
Runs the writes of a plan that a ChurchTools write tool returned. Call it only after the user saw the preview and said yes. A token is valid once, for 10 minutes. Every guarded record is re-read first; if one changed, nothing is written.
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": {
"token": "<token>"
},
"name": "ct_execute_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The token of the plan to execute |