Set Xero account map
set_xero_account_mapMap a FreedomOS cash-flow category (the account name on a transaction) to a Xero account code so suggest_xero_post / post_xero_transaction can book it. Use when the operator is setting up books posting. Unmapped categories cannot post. Does not post anything.
Routing: Map FO category → Xero account code (config, not a post)
[write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| fo_category | Yes | FreedomOS transaction.account name, e.g. Software | |
| xero_account_id | No | Optional Xero AccountID UUID | |
| xero_account_code | Yes | Xero account Code from list_xero_accounts |