list_pending_changes
list_pending_changesLists the changes YOU (or another assistant on this account) have proposed against Xero - across every organisation this token may reach, not just the current one. Read-only; nothing is created or changed. Three groups: "pending" rows are still awaiting approval or rejection; "needsAttention" rows are not (a write that failed, or one stuck mid-execution) but are worth mentioning because something the person authorised did not visibly happen; "history" is the most recent already-resolved rows (approved-but-not-yet-sent, sent, rejected, expired, or cancelled) - use it to answer "what happened to the thing I approved last week" rather than telling the user to go check Xero. A row whose approval window has simply run out is reported here too, as status "expired" - Invio moves it into history on its own within about an hour, and this tool already reports it that way immediately, before that background sweep gets to it; it never counts as still "pending" and never counts toward maxOpenPendingChanges below. A failed or stranded row in needsAttention/history carries errorMessage/errorCode explaining why, and a sent one carries result with the id/number Xero assigned. Every row carries approvalUrl - the same link a draft-creating tool's own result carries - point the user at it rather than inventing a path. Use this when asked "what am I waiting to approve" or "what happened to X", after drafting several changes in one conversation to summarise what is now queued, or before drafting another change against the same invoice/contact to check whether an earlier one is still unresolved. If truncated is true, more pending/needsAttention changes matched than were returned - say so rather than presenting the two lists as everything waiting, and suggest approving or rejecting some before asking again. maxOpenPendingChanges is the most "pending" changes this account may have open at once before drafting a new one is refused - if pending.length is getting close to it, mention that to the user before it becomes a failed draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||