Take an action at a business
take_actionPerform any non-booking action a business supports (request_quote, place_order, send_message, pay_invoice, sign_document, subscribe, register…). Get valid action ids and their fields from get_business. Pass the action's fields as a JSON object. If the result is 'action_required', hand the user the next.url (payment/signing link) or re-call with fields.confirmToken to confirm.
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": {
"slug": "<slug>",
"action": "<action>",
"fields": "<fields>"
},
"name": "take_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Business slug | |
| action | Yes | Action id, e.g. 'request_quote' | |
| fields | Yes | The action's input fields as a JSON object (include confirmToken to complete a gated action) |