Respond to VideoGen assistant action
act_on_assistant_actionApprove or reject a specific action offered by this assistant. Use its actual actionId and only actions with requiresApp=false. Approvals can edit the existing project or spend credits; ensure the proposed action is authorized by the user. Supply an explicit decision; never approve app-only actions or fabricate ids. Returns messageId for an acknowledgment; read the chat and project to verify the underlying work. For requiresApp=true, direct the user to that same project in the embedded app.
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": {
"assistantId": "<assistantId>",
"actionId": "<actionId>",
"decision": "<decision>"
},
"name": "act_on_assistant_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actionId | Yes | ||
| decision | Yes | ||
| assistantId | Yes | Assistant id returned by start_assistant_chat or get_project (vg_asst_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | Message id returned by an assistant write (vg_mesg_...). Keep polling this same id. |