Preview expense range
figa_preview_expense_rangePreview changing a recurring series' start or end without saving. Requires a workspace writer role and the current expense seriesContext. preview contains the proposed range; optional forecastSettings and ALL_INSTANCES editScope describe the combined change. Returns rangePreview with impact, preserved records, eligible plan exclusions and seriesContext. This is a read-only projection; it neither issues a lifecycle activity previewToken nor authorizes deletion of history.
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": {
"workspaceId": "<workspaceId>",
"expenseId": "<expenseId>",
"preview": "<preview>"
},
"name": "figa_preview_expense_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | Yes | range: the proposed start and end; seriesContext: as returned by the expense read; optional forecastSettings and editScope ALL_INSTANCES for a combined change. | |
| expenseId | Yes | Expense ID as returned by expense reads: a stored expense UUID or the ID of a generated occurrence of a recurring series. | |
| workspaceId | Yes | ID of a workspace selected for this connection. Other workspaces are rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | Yes | ||
| success | Yes |