create_contact
Create a contact
Adds a person to Memlane and pushes the new card to iCloud or Google when connected. You can pass up to 10 phones, 10 emails, and 10 addresses.
Annotations
{
"title": "Create a contact",
"readOnlyHint": false,
"destructiveHint": false,
"openWorldHint": true,
"idempotentHint": false
}Input
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"firstName": {
"type": "string",
"maxLength": 100
},
"lastName": {
"type": "string",
"maxLength": 100
},
"displayName": {
"type": "string",
"maxLength": 200
},
"company": {
"type": "string",
"maxLength": 200
},
"phones": {
"description": "Phone numbers for the new card (up to 10).",
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"emails": {
"description": "Email addresses for the new card (up to 10).",
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"addresses": {
"description": "Postal addresses for the new card (up to 10).",
"maxItems": 10,
"type": "array",
"items": {
"type": "object",
"properties": {
"street": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
]
},
"postalCode": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"birthday": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}Auth
Bearer personal token (ml_…) or OAuth access token (mla_…). Memlane Pro and iCloud required.
Errors
- 401 missing or invalid credentials
- 403 account is not Pro or iCloud is not connected
- 429 rate limit
- Tool errors return isError text without a stack trace