List customers

Customers with name, type, organisation number and payment terms.

MCP tool bokio_read → list_customers

read

Lists the customers of the company and searches by name or email. Use customer_id from each item in create_invoice. Pages hold up to 100 customers.

Parameters

Parameters: list_customers
NameTypeDescription
search string string Part of the name or email.
page integer integer Page number. Default: 1.
page_size integer integer 1 to 100. Default: 25.

tools/call

JSON-RPC

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

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "customers": [
      {
        "customer_id": "c7a1e5d2-3b94-4f60-9a1d-5e2f0b8c6d11",
        "name": "Nordlys Design AB",
        "type": "company",
        "org_number": "556000-0000",
        "email": "ekonomi@nordlys.example"
      }
    ],
    "total_items": 1,
    "total_pages": 1,
    "current_page": 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.