List contacts

Search contacts (customers and vendors) by name, email or company.

MCP tool odoo_read → list_contacts

read

Returns contacts with their ID, name, email, phone and company. Use contact_id from each item for create_draft_invoice and create_sales_order. An empty result means no contact matches, which is the cue to call create_contact.

Parameters

Parameters: list_contacts
NameTypeDescription
query string string Text to match against name or email.
is_company boolean boolean true: only companies; false: only people.
limit integer integer 1 to 100. Default: 50.
offset integer integer Number of records to skip, for the next page. Default: 0.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "odoo_read",
    "arguments": {
      "operation": "list_contacts",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "items": [
      {
        "contact_id": 931,
        "name": "Northwind Studio",
        "email": "billing@northwind.example",
        "phone": "+49 30 555 0142",
        "is_company": true
      }
    ],
    "total": 1
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.