Start connecting a client's Xero org
connect_org_startCreates a Xero OAuth2 read-only sign-in link for clients to select an organisation and approve access; after redirect, complete the connection with the returned URL.
Instructions
Creates a Xero OAuth2 (authorization code + PKCE) sign-in link with READ-ONLY scopes. Give the link to the client (or open it yourself if you are their adviser user); they pick their org and approve. Then call connect_org_complete with the URL they were redirected to. Not needed in demo mode.
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": "connect_org_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||