Create partner
Add a customer, supplier or person to the register.
MCP tool procountor_write → create_partner
write Confirm
Adds a partner with name, type and optional business ID, email and address. Default products, accounts and dimensions are not set; add them in Registers when needed. It reaches no one, but the partner stays in the register until you edit it there. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Partner name. |
| type string required | string | customer, supplier or person. |
| business_id string | string | Business ID, for example 1234567-8. |
| email string | string | Contact email for invoices. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "procountor_write",
"arguments": {
"operation": "create_partner",
"arguments": {
"name": "Jane Doe",
"type": "type"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"partner_id": "bp_20418",
"name": "Studio Kivi",
"type": "customer",
"created": true
},
"isError": false
}