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
| Name | Type | Description |
|---|---|---|
| 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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "bokio_read",
"arguments": {
"operation": "list_customers",
"arguments": {}
}
}
} Example response
{
"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
}