Preview an action
preview_actionAnswers what take_action would send to a source's official API, such as the Simpro API or the Xero Accounting API, for an action discover_actions lists, and sends nothing: a summary and the exact payload. Refused for the same reasons take_action would be; a missing or wrong argument answers with the action's arguments. For a destructive action it answers a confirmation, bound to these arguments, that take_action needs within 5 minutes. Call it when the person should see the write before it is sent.
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": {
"name": "<name>"
},
"name": "preview_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The action's name, as discover_actions lists it. | |
| arguments | No | The action's own arguments, as discover_actions with action named answers them. | |
| connection_id | No | The source it writes to. Omit when the company holds one. |