List partners
Customers, suppliers and persons from the register.
MCP tool procountor_read → list_partners
read
Searches the business partner register by name or business ID. Type is customer, supplier or person. Use the partner_id as the customer in create_sales_invoice. Pages hold up to 200 partners.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Part of the partner name or business ID. |
| type string | string | customer, supplier or person. |
| limit integer | integer | 1 to 200. Default: 50. |
| cursor string | string | Next page cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "procountor_read",
"arguments": {
"operation": "list_partners",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"partners": [
{
"partner_id": "bp_20417",
"name": "Nordic Print Oy",
"type": "customer",
"business_id": "1234567-8",
"email": "billing@nordicprint.example"
}
],
"next_cursor": null
},
"isError": false
}