Ask Genaya AI to prepare a change
genaya_actRun Genaya AI on one request that may CHANGE something (a task, client, lead, appointment, estimate or invoice draft, expense, a reschedule, cancel or complete, a text or email) as the connected member. Nothing runs here: each proposal comes back in actions with its preview and body_hash. confirm_channel in_chat means the member confirms in this chat (an elicitation, or confirm_action with the body_hash); genaya_page means show confirm_url and stop - the member confirms on a Genaya page. status needs_info means ask the member for needs_info and call again with everything in one message. Money, billing, roles, phone numbers and automations are not available here, and neither is creating an image or a video. One call is 10 Genaya AI credits when it only answers and 20 when it prepares a change; same input rules as ask_genaya.
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": {
"message": "<message>"
},
"name": "genaya_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | No | A record to focus on, taken from an earlier answer's sources (collection and id). Never invented. | |
| message | Yes | One question, in plain language, with its period or filter spelled out (today, this week, last month, a client's name). Never two questions in one message. | |
| conversation_id | No | The conversation_id from an earlier answer in this session, to continue that thread (a follow-up about the same records). Leave it out for a new standalone question. | |
| idempotency_key | No | A fresh 16 to 64 character key per question; a retry with the same key replays the finished answer instead of running (and metering) again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trust | Yes | ||
| actions | Yes | ||
| receipt | No | ||
| replayed | No | ||
| confirm_url | No | ||
| needs_human | Yes | ||
| wants_action | Yes | ||
| answer_markdown | Yes | ||
| conversation_id | Yes |