nvr_get_export
Fetch a VIGI NVR export file as base64 for AI or MCP use, with a configurable size limit. Over-limit files return TOO_LARGE with size and a re-export hint.
Instructions
Return one export file's content as base64 for files up to max_mb (default 20; Gmail caps attachments near 25 MB). Over the limit returns TOO_LARGE with the size and a hint to re-export with target_max_mb or fetch the exports:// resource. Path-confined to the export dir.
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": {
"name": "<name>"
},
"name": "nvr_get_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| max_mb | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||