Record an approval given in the chat
approve_from_chatCall only when the person you act for wrote the approval word to you in this chat about a text you sent for approval (request_approval). run: from start_agent_run, started_by person. content_hash: "sha256:" + hex SHA-256 of the exact text they approved. action_fields: the SAME action_fields you sent with request_approval (none if you sent none) -- show them to the person in the chat with the text, since the approval stands only for them. said: their message, exactly. Rithmo records it as your report; if it refuses, wait for their reply where Rithmo asked. Then act on it as on any approval.
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": {
"run": "<run>",
"approval_id": "<approval_id>",
"content_hash": "<content_hash>",
"said": "<said>"
},
"name": "approve_from_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| said | Yes | ||
| agent_key | No | ||
| approval_id | Yes | ||
| content_hash | Yes | ||
| action_fields | No |