Create contact
Add a customer, supplier or lead to Holded.
MCP tool holded_write → create_contact
write
Creates one contact. Type is the contact type Holded uses: customer, supplier, lead, debtor or creditor. The contact reaches no one and you can change it with update_contact, so it runs without asking first. Search with list_contacts first: this call does not check for a duplicate.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Contact name as it should appear on documents. |
| type enum | enum | customer, supplier, lead, debtor or creditor. |
| email string | string | Email address used for sending documents. |
| tax_id string | string | Tax ID as it should appear on documents. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "holded_write",
"arguments": {
"operation": "create_contact",
"arguments": {
"name": "Jane Doe"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"contact_id": "c_a7731e",
"name": "Fastcloud Hosting",
"type": "supplier",
"email": "billing@fastcloud.example"
},
"isError": false
}