Add contact

Add a contact to an address book with name, company, emails and phones.

MCP tool nextcloud_write → add_contact

write Confirm

Creates one contact in an address book. A name or an email is required. Run search_contacts first, because adding a person who exists creates a second card. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: add_contact
NameTypeDescription
name string string Full name.
company string string Company.
emails array array Email addresses.
phones array array Phone numbers.
address_book string string Address book name. Default: 'contacts'.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "nextcloud_write",
    "arguments": {
      "operation": "add_contact",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "contact_id": "e18a52b4-9c07-4f3d-a6b1-0d2c7e5f8a63",
    "name": "Tom Becker",
    "address_book": "contacts",
    "status": "created"
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.