List relations
Customers and suppliers (relations) with code, name, city and email, filtered by name, email, code, city or type.
MCP tool e_boekhouden_read → list_relations
read
Returns relations from the administration you are signed in to. Filter by name, email, relation code, city or type (B for business, P for private) to find one before you invoice it. Use limit and offset for the next page. The relation_id from each item goes into the other tools.
Parameters
| Name | Type | Description |
|---|---|---|
| name string | string | Company or person name. Wildcards ? and % are allowed. |
| email string | string | Exact email address. |
| code string | string | Relation code. |
| city string | string | Primary city. |
| type enum | enum | B (business) or P (private). |
| limit integer | integer | Number of items to return. |
| offset integer | integer | Number of items to skip, for the next page. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "e_boekhouden_read",
"arguments": {
"operation": "list_relations",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"relations": [
{
"relation_id": 1042,
"code": "STN001",
"type": "B",
"name": "Studio Noord BV",
"city": "Utrecht",
"email": "admin@studionoord.example",
"term_of_payment": 14,
"inactive": false
}
],
"total": 1
},
"isError": false
}