list-contacts
Retrieve and search through all contacts in Xero, including suppliers and customers, with pagination support for managing large contact lists.
Instructions
List all contacts in Xero. This includes Suppliers and Customers.
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": "list-contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional page number to retrieve for pagination. If not provided, the first page will be returned. If 100 contacts are returned, call this tool again with the next page number. | |
| searchTerm | No | Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields |