list_xero_organisations
list_xero_organisationsList the Xero organisations this connector token is currently authorised to read AND that this call is permitted to know about (organisation names only - never an internal id). Account-wide: it does not take an organisation argument and answers the same regardless of which organisation you were just discussing - use it to find the exact name to pass as organisation on another tool, when this connection reaches more than one. withinPlanLimit: false on an entry means it is authorised on Xero but outside this account's current Xero-connector plan limit - a call naming that organisation will be refused; say so plainly rather than trying it anyway. A restricted connector token may not see every organisation on the account - that is by design, not an omission. organisations may come back empty - status says exactly why, never leave that unexplained: "not_connected" (no active Xero connection at all - Xero has not been connected in Settings, or the connection was disconnected), "no_organisations" (Xero is connected but currently authorises zero organisations on it - reconnecting in Settings is the fix), "none_authorised_for_you" (organisations exist on this connection, but this specific connector token is restricted to a set that does not include any of them - ask the account owner to check Settings > AI connections > Xero > Team), or "connected" (the ordinary case, whether or not the list happens to be empty for another reason).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_xero_organisations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||