xero_back
Returns to domain selection in Xero MCP Server, enabling you to choose a different domain for your tasks.
Instructions
Return to domain selection (no-op in flattened mode). All tools are always available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:241-250 (handler)Handler for the xero_back tool - returns a no-op message indicating all tools are always available in flattened mode.
if (name === "xero_back") { return { content: [ { type: "text", text: "All tools are always available in flattened mode. Use xero_navigate to discover tools by domain: contacts, invoices, payments, accounts, reports", }, ], }; } - src/index.ts:163-171 (schema)Schema/tool definition for xero_back - a no-op compatibility tool with no required inputs.
const backTool: Tool = { name: "xero_back", description: "Return to domain selection (no-op in flattened mode). All tools are always available.", inputSchema: { type: "object", properties: {}, }, }; - src/index.ts:195-198 (registration)Registration of xero_back in the tool listing returned by ListToolsRequestSchema handler.
server.setRequestHandler(ListToolsRequestSchema, async () => { const domainTools = getAllDomainTools(); return { tools: [navigateTool, statusTool, backTool, ...domainTools] }; });