Ask for approval
request_approvalAsk the person you act for, from the authority map, to approve one action. Rithmo sends them text exactly, through its own app in a connected system, and reads their reply itself: they approve by replying approval_word. To act on it, rely on it in check_premises: relied_on [{ provider: "approval", resource_id: approval_id, content_hash: "sha256:" + hex SHA-256 of the same text }]. It allows only after they approved that exact text, and only once. replaces: the approval_id of an earlier version this text replaces (sent in the same thread; the earlier one can no longer be used). where: the channel the team uses for this work (e.g. "#marketing"); a direct message to the approver when absent. Only the approver's own reply counts, wherever it is asked. action_fields: the action's details (recipient, amount, target...), shown to the approver under the text; the approval then allows only a check_premises with the same action_fields.
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": {
"intended_action": "<intended_action>",
"text": "<text>",
"approval_word": "<approval_word>"
},
"name": "request_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| title | No | ||
| where | No | ||
| replaces | No | ||
| agent_key | No | ||
| action_fields | No | ||
| approval_word | Yes | ||
| intended_action | Yes |