Set a connection's root tool selection
https://api.floconnector.com/v1/connections/{id}/tools- Scope
connections.write- Rate limit
- the key's write budget, 60 a minute
Replaces the whole selection: exactly the named tools are on and every other tool is off, for every profile that uses the connection (a profile can only narrow it further). A name the connector does not have changes nothing and comes back in ignored, so a typo shows in the reply. Read GET /v1/connections/{id}/tools first and send the full list you want on.
Path parameters
The connection's id.
Body
The fields it takes:
toolsarray of stringrequiredThe ROOT tool selection: what this connection makes available at all. Every profile subsets it.
Up to 2000 items
Responses
200Success
toolsarray of objectThe vendor's tools, with the selection as saved.
ShowHide 9 fields of each item
namestringThe tool's name as an AI client calls it, e.g. xero_list_invoices. Use it in every tools list.
titlestringA short title for people.
descriptionstringWhat the tool does. This is the text an AI client reads.
docs_mdstringnullableLonger documentation in Markdown, for people. Null when the tool has none.
planstringThe tool's plan tier: free or pro.
sensitivebooleanTrue for a destructive or high-impact tool.
read_onlybooleanTrue when the tool only reads. A read-only profile or connection serves only these.
has_panelbooleanTrue when the tool shows an interactive panel in AI clients that support them (MCP Apps). A panel appears only while the tool is listed, so search mode pins these by default.
enabledbooleanWhether the tool is on in the connection's root selection, which every profile subsets. With nothing connected, the default: on.
ignoredarray of stringNames the vendor does not have; nothing changed for them.
400validation: a field failed validation; field names it.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
401unauthorized: no key, or an unknown, revoked or expired key.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
403insufficient_scope: the key lacks the route's scope, named in required. Or forbidden, or plan_limit when the plan does not include the API.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
404not_found: the thing is not in this workspace.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
429rate_limited: the key's per-minute budget is spent. Retry after Retry-After seconds.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
Errors lists every error code and what to do about it.