{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"resourceId":{"type":"string","title":"Contact ID","minLength":1,"maxLength":2000},"revision":{"type":"string","title":"Expected provider revision","minLength":1,"maxLength":2000},"name":{"type":"object","title":"Name","properties":{"display":{"type":"string","title":"Display name","minLength":1,"maxLength":500},"prefix":{"type":"string","title":"Prefix","minLength":1,"maxLength":100},"given":{"type":"string","title":"Given name","minLength":1,"maxLength":200},"middle":{"type":"string","title":"Middle name","minLength":1,"maxLength":200},"family":{"type":"string","title":"Family name","minLength":1,"maxLength":200},"suffix":{"type":"string","title":"Suffix","minLength":1,"maxLength":100}},"required":["display"],"additionalProperties":false},"emails":{"type":"array","title":"Email addresses","items":{"type":"object","title":"Email address","properties":{"value":{"type":"string","title":"Value","minLength":1,"maxLength":2000},"type":{"type":"string","title":"Type","minLength":1,"maxLength":100},"label":{"type":"string","title":"Label","minLength":1,"maxLength":200},"primary":{"type":"boolean","title":"Primary"}},"required":["value"],"additionalProperties":false},"minItems":0,"maxItems":20,"uniqueItems":false},"phones":{"type":"array","title":"Phone numbers","items":{"type":"object","title":"Phone number","properties":{"value":{"type":"string","title":"Value","minLength":1,"maxLength":2000},"type":{"type":"string","title":"Type","minLength":1,"maxLength":100},"label":{"type":"string","title":"Label","minLength":1,"maxLength":200},"primary":{"type":"boolean","title":"Primary"}},"required":["value"],"additionalProperties":false},"minItems":0,"maxItems":20,"uniqueItems":false},"organizations":{"type":"array","title":"Organizations","items":{"type":"object","title":"Organization","properties":{"name":{"type":"string","title":"Organization name","minLength":1,"maxLength":500},"department":{"type":"string","title":"Department","minLength":1,"maxLength":300},"title":{"type":"string","title":"Job title","minLength":1,"maxLength":300},"type":{"type":"string","title":"Type","minLength":1,"maxLength":100},"primary":{"type":"boolean","title":"Primary"}},"required":["name"],"additionalProperties":false},"minItems":0,"maxItems":10,"uniqueItems":false},"addresses":{"type":"array","title":"Addresses","items":{"type":"object","title":"Address","properties":{"formatted":{"type":"string","title":"Formatted address","minLength":1,"maxLength":2000},"street":{"type":"string","title":"Street","minLength":1,"maxLength":500},"locality":{"type":"string","title":"City or locality","minLength":1,"maxLength":200},"region":{"type":"string","title":"Region","minLength":1,"maxLength":200},"postalCode":{"type":"string","title":"Postal code","minLength":1,"maxLength":100},"country":{"type":"string","title":"Country","minLength":1,"maxLength":200},"countryCode":{"type":"string","title":"Country code","minLength":1,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"type":{"type":"string","title":"Type","minLength":1,"maxLength":100},"label":{"type":"string","title":"Label","minLength":1,"maxLength":200},"primary":{"type":"boolean","title":"Primary"}},"required":[],"additionalProperties":false},"minItems":0,"maxItems":10,"uniqueItems":false},"urls":{"type":"array","title":"Websites","items":{"type":"object","title":"Website","properties":{"value":{"type":"string","title":"Value","minLength":1,"maxLength":2000},"type":{"type":"string","title":"Type","minLength":1,"maxLength":100},"label":{"type":"string","title":"Label","minLength":1,"maxLength":200},"primary":{"type":"boolean","title":"Primary"}},"required":["value"],"additionalProperties":false},"minItems":0,"maxItems":20,"uniqueItems":false},"notes":{"type":"array","title":"Notes","items":{"type":"string","title":"Note","minLength":1,"maxLength":5000},"minItems":0,"maxItems":20,"uniqueItems":true},"clearName":{"type":"boolean","title":"Clear the saved name"}},"required":["resourceId","revision"],"additionalProperties":false},"name":"Update or clear contact fields by version","id":"google-contacts.contact.update","example":{"resourceId":"people/c123","revision":"current-revision","name":{"display":"Jane Smith","given":"Jane","family":"Smith"}},"maxRequests":1,"summary":false}}