get_export_mapping
For an IN-PROGRESS export, get the mapping of each file discovered so far to the Xero object it represents or is attached to (e.g. which invoice a receipt PDF belongs to). Paged (default 200 files, max 500): check filesPage.hasMore and pass fileOffset for the next page; the objects map covers onl...
This record as markdown: /tools/com-getboxkite-xero-backup-export/get-export-mapping.md
What get_export_mapping does on Boxkite — Xero Backup & Export
AI agents call get_export_mapping to retrieve information from Boxkite — Xero Backup & Export without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
exportId | string | Yes | |
fileLimit | integer | — | Files per page (default 200, max 500) |
fileOffset | integer | — | Index of the first file to return (default 0) |
Parameters from the server's own tool schema.
Why get_export_mapping is rated Low
This tool performs data retrieval only (reading export mappings and status), with no side effects, no financial implications, and no destructive or executable actions. It is a straightforward 'get' operation that queries metadata about an in-progress export. Even though it interacts with Xero accounting data, it only reads and does not modify, execute, or delete anything.
From the tool's definition Tool description explicitly states it 'get[s] the mapping of each file discovered so far' and retrieves status/metadata about an in-progress export.
Attacks that exploit this kind of access
The rule that runs get_export_mapping safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Boxkite — Xero Backup & Export, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_export_mapping, this is the rule to start with:
get_export_mapping is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Boxkite — Xero Backup & Export, apply this rule, and every get_export_mapping call is checked against it from then on.
Questions about get_export_mapping
For an IN-PROGRESS export, get the mapping of each file discovered so far to the Xero object it represents or is attached to (e.g. which invoice a receipt PDF belongs to). Paged (default 200 files, max 500): check filesPage.hasMore and pass fileOffset for the next page; the objects map covers only the files on the current page. Once the export finishes, this returns status 'complete' with a pointer instead: the full mapping ships under Info/ inside the ZIP, so download the archive and read Info/files.json from it. It is categorised as a Read tool in the Boxkite — Xero Backup & Export MCP Server, which means it retrieves data without modifying state.
get_export_mapping accepts 3 parameters: exportId, fileLimit, fileOffset. Required: exportId. The full parameter table on this page comes from the server's own tool schema.
Register the Boxkite — Xero Backup & Export MCP server in PolicyLayer and add a rule for get_export_mapping: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Boxkite — Xero Backup & Export. Nothing to install.
get_export_mapping is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_export_mapping rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_export_mapping. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_export_mapping is provided by the Boxkite — Xero Backup & Export MCP server (https://app.getboxkite.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Boxkite — Xero Backup & Export, and thousands of servers like it.
This server
Across the catalogue