Skip to content

Platform Tools

Platform tools help your assistant find its way around and check that data is available. They're always available, and they don't count towards your plan's monthly tool calls.

For company_id, connection_id, paging, freshness and the shape of every answer, see Common Parameters.

platform_list_companies

Lists the Companies you're allowed to see. Your assistant calls this first, because every other tool needs a company_id.

Parameter Default Description
page_size, cursor 50 Paging.

Each Company includes its id, name, code, base_currency, timezone, country_code and financial year start.

platform_get_company

One Company's base currency, timezone and financial year, used to work out periods such as "last quarter".

Parameter Default Description
company_id Required

platform_list_connections

The Connections for a Company. Credentials are never shown.

Parameter Default Description
company_id Required
page_size, cursor 50 Paging.

platform_get_connection_status

Whether a Connection is working and questions are expected to succeed. For Sage 50 it includes whether the gateway is online.

Parameter Default Description
company_id Required
connection_id Required

platform_get_gateway_status

Whether the desktop gateways serving a Company are online, and when each was last seen.

Parameter Default Description
company_id Required
page_size, cursor 50 Paging.

platform_get_capabilities

Exactly what a Connection can answer: which tools, fields, filters and periods.

Parameter Default Description
company_id Required
connection_id Required
max_age_seconds, allow_stale 300, false Freshness.

platform_get_data_health

How fresh a Connection's data is, how much history is available, and any data-quality warnings. It never starts a sync or changes the Connection.

Parameter Default Description
company_id Required
connection_id Required
max_age_seconds, allow_stale 300, false Freshness.

platform_get_usage

Your account's AI requests (tool calls) for the current calendar month (UTC). Takes no parameters.

Field Description
period_start, period_end_exclusive The month being counted.
limit Your plan's monthly AI requests.
used, remaining AI requests used and left this month.

See Plans & Usage.