Get a live Xero financial report
get_xero_financial_reportRead one live Xero Profit and Loss, Balance Sheet or Trial Balance for explicit dates. Capped at 250 stripped rows and never writes to Xero. Requires the matching read-only Xero report permission and a Xero user with Reports access.
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": {
"report": "<report>",
"workspace_id": "<workspace_id>"
},
"name": "get_xero_financial_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Snapshot date for Balance Sheet or Trial Balance, supplied by the user; omit for Profit and Loss. | |
| report | Yes | The live Xero report requested by the user; Profit and Loss needs a period, the others need a snapshot date. | |
| to_date | No | Inclusive end date of the Profit and Loss period requested by the user; omit for snapshot reports. | |
| from_date | No | Inclusive start date of the Profit and Loss period requested by the user; omit for snapshot reports. | |
| workspace_id | Yes | Selected business ID from list_shvl_workspaces. Ask the user to choose if several businesses are available; never infer another business. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| report | Yes | ||
| is_live | Yes | ||
| row_count | Yes | ||
| truncated | Yes | ||
| parameters | Yes | ||
| updated_at | Yes | ||
| data_notice | Yes | ||
| data_source | Yes | ||
| report_date | Yes | ||
| report_name | Yes | ||
| tenant_name | Yes |