{"at":"2026-11-23T00:57:58.748Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:57:59.048Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"ghostpaw-affinity","version":"0.7.2"}},"cacheScope":"public","capabilities":{"tools":{}},"instructions":"Affinity is a local relationship model and social CRM. Search before creating contacts. Inspect before revising or merging. Record direct evidence honestly, keep identities and structural ties distinct from social links, and ask for clarification when a target is ambiguous. Review commitments and recurring dates regularly. Derived scores guide attention and do not prove relationship quality.","resultType":"complete","supportedVersions":["2026-07-28","2025-11-25","2025-06-18","2025-03-26","2024-11-05"],"ttlMs":60000}}}
{"at":"2026-11-23T00:57:59.048Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:57:59.050Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"ghostpaw-affinity","version":"0.7.2"}},"cacheScope":"public","resultType":"complete","tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Search contacts by name, identity, attributes, link roles, bonds and event text. All whitespace tokens must match. Dormant and lost contacts are excluded by default; use includeDormant and includeLost to include them.","inputSchema":{"additionalProperties":false,"description":"Search affinity contacts.","properties":{"attribute":{"oneOf":[{"description":"Attribute filter.","type":"string"},{"description":"AND filters.","items":{"description":"Attribute filter.","type":"string"},"type":"array"}]},"includeDormant":{"description":"Whether dormant contacts are included.","type":"boolean"},"includeLost":{"description":"Include lost contacts (search excludes them by default).","type":"boolean"},"includeOwner":{"description":"Whether owner contacts are included.","type":"boolean"},"kind":{"description":"Optional contact kind filter.","enum":["human","agent","group","company","team","pet","service","other"],"type":"string"},"lifecycleState":{"description":"Optional lifecycle state filter.","enum":["active","dormant","merged","lost"],"type":"string"},"limit":{"description":"Optional result limit.","type":"integer"},"offset":{"description":"Optional result offset.","type":"integer"},"query":{"description":"Free-text or natural-key query.","type":"string"},"scope":{"description":"Search scope; defaults to contacts.","enum":["contacts","events","all"],"type":"string"},"tag":{"oneOf":[{"description":"Tag filter.","type":"string"},{"description":"AND tags.","items":{"description":"Tag filter.","type":"string"},"type":"array"}]},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["query"],"type":"object"},"name":"search_affinity"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Review one affinity surface such as contacts, journals, link queues, commitments, dates, graph state, or merge history.","inputSchema":{"additionalProperties":false,"description":"Review one affinity surface.","properties":{"attribute":{"oneOf":[{"description":"Attribute filter.","type":"string"},{"description":"AND filters.","items":{"description":"Attribute filter.","type":"string"},"type":"array"}]},"channel":{"description":"Filter events by channel.","type":"string"},"commitmentType":{"description":"Optional commitment type filter.","enum":["promise","agreement"],"type":"string"},"contact":{"description":"Optional target contact locator.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"contactIds":{"description":"Optional contact-id subset.","items":{"description":"Contact id.","type":"integer"},"type":"array"},"eventTypes":{"description":"Optional event-type filter.","items":{"description":"Event type.","enum":["conversation","activity","gift","support","milestone","observation","conflict","correction","transaction","promise","agreement","date_anchor"],"type":"string"},"type":"array"},"exactOnly":{"description":"Whether duplicate review is exact-only.","type":"boolean"},"horizonDays":{"description":"Optional horizon-days filter.","type":"integer"},"includeArchived":{"description":"Whether archived links are included.","type":"boolean"},"includeContent":{"description":"Deprecated alias for --with-content; includes verbatim event content.","type":"boolean"},"includeDismissed":{"description":"Whether dismissed pairs are included in duplicate review (marked with dismissed flag).","type":"boolean"},"includeDormant":{"description":"Whether dormant rows are included.","type":"boolean"},"includeLost":{"description":"Include lost contacts (search excludes them by default).","type":"boolean"},"includeObserved":{"description":"Whether observed links are included.","type":"boolean"},"includeOwner":{"description":"Whether owner contacts are included.","type":"boolean"},"includeStructural":{"description":"Include structural ties as marked chart edges.","type":"boolean"},"kind":{"description":"Optional contact kind or link kind filter, depending on the view.","type":"string"},"lifecycleState":{"description":"Optional contact lifecycle-state filter.","enum":["active","dormant","merged","lost"],"type":"string"},"limit":{"description":"Optional result limit, 1..10000 (default 50); use offset for paging.","type":"integer"},"link":{"description":"Optional target link locator.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"isStructural":{"description":"Optional structural discriminator.","type":"boolean"},"kind":{"description":"Optional link kind.","type":"string"},"role":{"description":"Optional link role.","type":"string"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"},"linkState":{"description":"Optional link state filter.","enum":["active","dormant","strained","broken","archived"],"type":"string"},"minScore":{"description":"Optional duplicate minimum score (default 0.5; use 0 for all candidates).","type":"number"},"momentKind":{"description":"Optional moment kind filter.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional current timestamp for overdue calculations. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"offset":{"description":"Optional result offset.","type":"integer"},"recurrenceKind":{"description":"Optional recurrence-kind filter.","enum":["birthday","anniversary","renewal","memorial","custom_yearly"],"type":"string"},"ref":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"refId":{"description":"External reference id.","type":"string"},"refSource":{"description":"External reference source.","type":"string"},"since":{"description":"Optional lower timestamp bound. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"tag":{"oneOf":[{"description":"Tag filter.","type":"string"},{"description":"AND tags.","items":{"description":"Tag filter.","type":"string"},"type":"array"}]},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"},"until":{"description":"Optional upper timestamp bound. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"view":{"description":"Which review surface to return.","enum":["contacts.list","contacts.duplicates","events.timeline","events.thread","events.contact_journal","events.link_timeline","events.moments","commitments.open","links.owner","links.observed","links.progression_readiness","links.radar","dates.upcoming","graph.chart","merges.history","merges.dismissed"],"type":"string"},"withContent":{"description":"Include verbatim event content.","type":"boolean"}},"required":["view"],"type":"object"},"name":"review_affinity"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Inspect one exact affinity item such as the owner profile, a contact profile, or one link detail.","inputSchema":{"additionalProperties":false,"description":"Inspect one exact affinity item.","properties":{"contact":{"description":"Target contact. Required when kind=contact_profile. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"eventId":{"description":"Exact event id.","type":"integer"},"kind":{"description":"What to inspect.","enum":["event","owner_profile","contact_profile","link"],"type":"string"},"link":{"description":"Target link. Required when kind=link. Provide linkId or endpoints.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"},"recentEventsLimit":{"description":"Optional recent-events cap.","type":"integer"},"ref":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"refId":{"description":"External reference id.","type":"string"},"refSource":{"description":"External reference source.","type":"string"},"topLinksLimit":{"description":"Optional top-links cap.","type":"integer"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind"],"type":"object"},"name":"inspect_affinity_item"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Create, revise, export or permanently delete a contact (confirm: true required; owner cannot be deleted). Export without contact exports the whole database. Lifecycle lost is soft delete. ALWAYS search_affinity first before creating — duplicates corrupt the graph.","inputSchema":{"additionalProperties":false,"description":"Manage contacts.","properties":{"action":{"description":"Operation to perform.","enum":["create","revise","migrate_kind","set_lifecycle","export","delete"],"type":"string"},"confirm":{"description":"Required true for permanent deletion.","type":"boolean"},"contact":{"description":"Target contact. Required when action=revise or set_lifecycle. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"input":{"additionalProperties":false,"description":"New contact payload. Required when action=create.","properties":{"bootstrapOwner":{"description":"Whether this contact should be the owner.","type":"boolean"},"doNotContact":{"description":"Block outbound engagement unless explicitly overridden.","type":"boolean"},"identities":{"description":"Optional identities to attach. An identity owned by another live contact causes a conflict, or returns that contact when ifExists=return.","items":{"additionalProperties":false,"properties":{"label":{"description":"Optional label.","type":"string"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"},"verified":{"description":"Verified identity.","type":"boolean"}},"required":["type","value"],"type":"object"},"type":"array"},"ifExists":{"description":"Identity collision policy; return attaches nothing.","enum":["error","return"],"type":"string"},"kind":{"description":"Contact kind.","enum":["human","agent","group","company","team","pet","service","other"],"type":"string"},"name":{"description":"Contact name.","type":"string"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":["name","kind"],"type":"object"},"kind":{"description":"Replacement contact kind for migrate_kind. Owner must remain human or agent. Audited without bond mechanics.","enum":["human","agent","group","company","team","pet","service","other"],"type":"string"},"lifecycleState":{"description":"Target lifecycle state. Required when action=set_lifecycle.","enum":["active","dormant","merged","lost"],"type":"string"},"options":{"additionalProperties":false,"description":"Optional lifecycle metadata.","properties":{"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":[],"type":"object"},"patch":{"additionalProperties":false,"description":"Allowed contact patch. Required when action=revise.","properties":{"doNotContact":{"description":"Block outbound engagement unless explicitly overridden.","type":"boolean"},"name":{"description":"Optional replacement name.","type":"string"}},"required":[],"type":"object"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_contact"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Merge one loser contact into one winner contact using explicit contact locators.","inputSchema":{"additionalProperties":false,"description":"Merge two contacts.","properties":{"loser":{"description":"Loser contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"now":{"description":"Optional merge timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"reasonSummary":{"description":"Optional merge reason.","type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"},"winner":{"description":"Winner contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"}},"required":["winner","loser"],"type":"object"},"name":"merge_contacts"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Dismiss or un-dismiss a duplicate candidate pair so it does not resurface in review_affinity contacts.duplicates.","inputSchema":{"additionalProperties":false,"description":"Dismiss or un-dismiss a duplicate candidate pair.","properties":{"action":{"description":"Action to perform.","enum":["dismiss","undismiss"],"type":"string"},"left":{"description":"Left contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional reason for the dismissal."},"right":{"description":"Right contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action","left","right"],"type":"object"},"name":"manage_duplicate_dismissal"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add, revise, verify, or remove one routing identity on a contact. Use this for emails, phone numbers, social handles, and URLs — anything that could locate a person. Do not use manage_attribute for these.","inputSchema":{"additionalProperties":false,"description":"Add, revise, verify, or remove one routing identity on a contact.","properties":{"action":{"description":"Operation to perform.","enum":["add","revise","verify","remove"],"type":"string"},"contact":{"description":"Target contact. Required when action=add. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"ifExists":{"description":"Return an existing identity on this contact without changes.","enum":["error","return"],"type":"string"},"type":{"description":"Identity type: did, atproto_did, email, phone, url, website, handle, x, twitter, linkedin, github, mastodon, bluesky, telegram, whatsapp, signal, matrix, discord, slack, instagram, facebook, youtube, tiktok, address, other, account_id, alias, or custom:<name> (lowercase a-z, 0-9, underscore or hyphen).","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"identityId":{"description":"Identity id. Required when action=revise, verify, or remove.","type":"integer"},"input":{"additionalProperties":false,"description":"New identity payload. Required when action=add.","properties":{"ifExists":{"description":"Return an existing identity on this contact without changes.","enum":["error","return"],"type":"string"},"label":{"description":"Optional label.","type":"string"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"type":{"description":"Identity type: did, atproto_did, email, phone, url, website, handle, x, twitter, linkedin, github, mastodon, bluesky, telegram, whatsapp, signal, matrix, discord, slack, instagram, facebook, youtube, tiktok, address, other, account_id, alias, or custom:<name> (lowercase a-z, 0-9, underscore or hyphen).","type":"string"},"value":{"description":"Identity value.","type":"string"},"verified":{"description":"Whether the identity starts verified.","type":"boolean"}},"required":["type","value"],"type":"object"},"patch":{"additionalProperties":false,"description":"Identity patch. Required when action=revise.","properties":{"label":{"description":"Optional label.","type":"string"},"type":{"description":"Optional identity type: did, atproto_did, email, phone, url, website, handle, x, twitter, linkedin, github, mastodon, bluesky, telegram, whatsapp, signal, matrix, discord, slack, instagram, facebook, youtube, tiktok, address, other, account_id, alias, or custom:<name> (lowercase a-z, 0-9, underscore or hyphen).","type":"string"},"value":{"description":"Optional identity value.","type":"string"}},"required":[],"type":"object"},"removedAt":{"description":"Removal timestamp. Optional for action=remove. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"},"verifiedAt":{"description":"Verification timestamp. Optional for action=verify. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":["action"],"type":"object"},"name":"manage_identity"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Seed social links, revise bond and state, and manage structural ties. Seed a link as soon as a relationship is mentioned — do not wait for repeated evidence.","inputSchema":{"additionalProperties":false,"description":"Seed social links, revise bond and state, and manage structural ties.","properties":{"action":{"description":"Operation to perform.","enum":["revise","seed_social_link","revise_bond","override_state","set_structural_tie","remove_structural_tie"],"type":"string"},"bond":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Bond text. Required when action=revise_bond. Null to clear."},"from":{"description":"Source contact. Required when action=seed_social_link or set_structural_tie. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"input":{"description":"Full payload for seed_social_link or set_structural_tie. Alternative to top-level kind/role.","properties":{"affinity":{"description":"Affinity from 0 inclusive to 1 exclusive.","type":"number"},"bond":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Bond text; null clears."},"cadenceDays":{"description":"Positive days pins cadence; null on revise restores derivation.","oneOf":[{"type":"number"},{"type":"null"}]},"ifExists":{"description":"Existing link behavior.","enum":["error","return"],"type":"string"},"kind":{"description":"Link kind.","type":"string"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"rank":{"description":"Non-negative relationship rank.","type":"integer"},"role":{"description":"Optional role.","type":"string"},"state":{"description":"Relationship state.","enum":["active","dormant","strained","broken","archived"],"type":"string"},"trust":{"description":"Trust from 0 to 1.","type":"number"}},"type":"object"},"kind":{"description":"Link kind. Required for seed_social_link and set_structural_tie. Can be passed here or inside input. For seed_social_link: personal, family, professional, romantic, care, service, observed, other_relational. For set_structural_tie: works_at, manages, member_of, married_to, partner_of, parent_of, child_of, sibling_of, friend_of, client_of, vendor_of, reports_to, belongs_to, other_structural.","type":"string"},"link":{"description":"Target link. Required when action=revise_bond, override_state, or remove_structural_tie. Provide linkId or endpoints.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"isStructural":{"description":"Optional structural discriminator.","type":"boolean"},"kind":{"description":"Optional link kind.","type":"string"},"role":{"description":"Optional link role.","type":"string"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"},"options":{"additionalProperties":false,"description":"Optional metadata.","properties":{"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":[],"type":"object"},"patch":{"additionalProperties":false,"description":"Replacement link fields; cadenceDays null unpins.","properties":{"affinity":{"description":"Affinity from 0 inclusive to 1 exclusive.","type":"number"},"bond":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Bond text; null clears."},"cadenceDays":{"description":"Positive days pins cadence; null on revise restores derivation.","oneOf":[{"type":"number"},{"type":"null"}]},"rank":{"description":"Non-negative relationship rank.","type":"integer"},"state":{"description":"Relationship state.","enum":["active","dormant","strained","broken","archived"],"type":"string"},"trust":{"description":"Trust from 0 to 1.","type":"number"}},"required":[],"type":"object"},"removedAt":{"description":"Removal timestamp. Optional for action=remove_structural_tie. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"role":{"description":"Optional role for seed_social_link or set_structural_tie. Can be passed here or inside input.","type":"string"},"state":{"description":"Link state. Required when action=override_state.","enum":["active","dormant","strained","broken","archived"],"type":"string"},"to":{"description":"Target contact. Required when action=seed_social_link or set_structural_tie. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_relationship"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Record one social event such as an interaction, observation, milestone, or transaction. For interactions, milestones, and transactions the owner contact is auto-injected into participants if missing. Observations may omit the owner when recording third-party evidence.","inputSchema":{"additionalProperties":false,"anyOf":[{"additionalProperties":false,"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants","type"],"type":"object"},"kind":{"enum":["interaction"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"},{"additionalProperties":false,"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants"],"type":"object"},"kind":{"enum":["observation"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"},{"additionalProperties":false,"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants"],"type":"object"},"kind":{"enum":["milestone"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"},{"additionalProperties":false,"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants"],"type":"object"},"kind":{"enum":["transaction"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"}],"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants"],"type":"object"},"kind":{"description":"Event kind.","enum":["interaction","observation","milestone","transaction"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"},"name":"record_event"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Record or resolve one commitment such as a promise or agreement. The owner contact is auto-injected into participants if missing.","inputSchema":{"additionalProperties":false,"description":"Record or resolve one commitment.","properties":{"action":{"description":"Operation to perform.","enum":["record","resolve"],"type":"string"},"commitmentEventId":{"description":"Commitment event id. Required when action=resolve.","type":"integer"},"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Commitment payload. Required when action=record.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"commitmentType":{"description":"Promise or agreement.","enum":["promise","agreement"],"type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"dueAt":{"description":"Optional due timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"dueOn":{"description":"Due calendar day.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the commitment was made, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"}},"required":["contactId"],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","type":"string"},"role":{"description":"Participant role.","type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Commitment significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Commitment summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"}},"required":["commitmentType","occurredAt","significance","participants"],"type":"object"},"options":{"additionalProperties":false,"description":"Optional metadata.","properties":{"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"resolvingEvent":{"additionalProperties":false,"properties":{"occurredAt":{"description":"Optional resolving event timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"participants":{"description":"Resolving participants.","items":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"directionality":{"description":"Directionality.","type":"string"},"role":{"description":"Role.","type":"string"}},"required":["contactId","role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Optional resolving event significance.","type":"integer"},"summary":{"description":"Optional resolving event summary.","type":"string"},"type":{"description":"Optional resolving event type.","type":"string"}},"required":[],"type":"object"}},"required":[],"type":"object"},"resolution":{"description":"How the commitment was resolved. Required when action=resolve.","enum":["kept","cancelled","broken"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_commitment"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add, revise, or remove recurring date anchors on contacts or links. Use this for birthdays, anniversaries, and yearly events — not manage_attribute.","inputSchema":{"additionalProperties":false,"description":"Add, revise, or remove recurring date anchors.","properties":{"action":{"description":"Operation to perform.","enum":["add","revise","remove"],"type":"string"},"anchorEventId":{"description":"Anchor event id. Required when action=revise or remove.","type":"integer"},"input":{"additionalProperties":false,"description":"Date anchor payload. Required when action=add.","properties":{"anchorDay":{"description":"Anchor day, 1–31 (validated per month).","type":"integer"},"anchorMonth":{"description":"Anchor month, 1–12.","type":"integer"},"force":{"description":"Whether to bypass duplicate checks.","type":"boolean"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"recurrenceKind":{"description":"Recurrence kind.","enum":["birthday","anniversary","renewal","memorial","custom_yearly"],"type":"string"},"significance":{"description":"Significance from 1 to 10.","type":"integer"},"summary":{"description":"Summary. Must be non-empty.","type":"string"},"target":{"additionalProperties":false,"description":"Date-anchor target.","properties":{"contact":{"description":"Contact locator. Required when kind=contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"kind":{"description":"Target kind.","enum":["contact","link"],"type":"string"},"link":{"description":"Link locator. Required when kind=link. Provide linkId or endpoints.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"isStructural":{"description":"Optional structural discriminator.","type":"boolean"},"kind":{"description":"Optional link kind.","type":"string"},"role":{"description":"Optional link role.","type":"string"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"}},"required":["kind"],"type":"object"}},"required":["target","recurrenceKind","anchorMonth","anchorDay","summary","significance"],"type":"object"},"options":{"additionalProperties":false,"description":"Optional metadata.","properties":{"force":{"description":"Whether duplicate checks should be bypassed.","type":"boolean"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":[],"type":"object"},"patch":{"additionalProperties":false,"description":"Anchor patch. Required when action=revise.","properties":{"anchorDay":{"description":"Optional day, 1–31.","type":"integer"},"anchorMonth":{"description":"Optional month, 1–12.","type":"integer"},"recurrenceKind":{"description":"Optional recurrence kind.","enum":["birthday","anniversary","renewal","memorial","custom_yearly"],"type":"string"},"significance":{"description":"Optional significance, 1–10.","type":"integer"},"summary":{"description":"Optional summary.","type":"string"}},"required":[],"type":"object"},"removedAt":{"description":"Removal timestamp. Optional for action=remove. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_date_anchor"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Set, unset, or replace custom metadata attributes on contacts, links and events. For emails, phones, handles, and URLs use manage_identity instead — those are routing keys, not attributes.","inputSchema":{"additionalProperties":false,"description":"Set, unset, or replace attributes on contacts, links and events.","properties":{"action":{"description":"Operation to perform.","enum":["set","unset","replace"],"type":"string"},"entries":{"description":"Key-value map to replace all attributes. Required when action=replace.","items":{"additionalProperties":false,"properties":{"name":{"description":"Attribute name.","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Attribute value, or null for presence/tag semantics."}},"required":["name"],"type":"object"},"type":"array"},"name":{"description":"Attribute name. Required when action=set or unset.","type":"string"},"removedAt":{"description":"Removal timestamp. Optional for action=unset. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"target":{"additionalProperties":false,"description":"Attribute target. Always required.","properties":{"contact":{"description":"Contact locator. Required when kind=contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"eventId":{"description":"Target event id; provide eventId or ref.","type":"integer"},"kind":{"description":"Target kind.","enum":["contact","link","event"],"type":"string"},"link":{"description":"Link locator. Required when kind=link. Provide linkId or endpoints.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"},"ref":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"}},"required":["kind"],"type":"object"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Attribute value. Required when action=set. Null for presence/tag semantics."}},"required":["action"],"type":"object"},"name":"manage_attribute"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Revise or delete one event by eventId or external reference. Delete requires confirm=true and recomputes affected relationships.","inputSchema":{"additionalProperties":false,"properties":{"action":{"description":"Action.","enum":["revise","delete"],"type":"string"},"confirm":{"description":"Must be true to delete.","type":"boolean"},"eventId":{"description":"Event id; provide eventId or ref.","type":"integer"},"patch":{"additionalProperties":false,"description":"Fields to revise; externalRef may only be added when absent.","properties":{"channel":{"description":"Channel, at most 40 characters.","type":"string"},"content":{"description":"Verbatim content, at most 1 MB UTF-8.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"occurredAt":{"description":"Event timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"significance":{"description":"Significance 1..10.","type":"integer"},"summary":{"description":"Short non-empty label.","type":"string"},"type":{"description":"Type within the same event kind.","enum":["conversation","activity","gift","support","conflict","correction","observation","milestone","transaction","promise","agreement","date_anchor"],"type":"string"}},"required":[],"type":"object"},"ref":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"refId":{"description":"External reference id.","type":"string"},"refSource":{"description":"External reference source.","type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_event"}],"ttlMs":60000}}}
{"at":"2026-11-23T00:57:59.151Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:57:59.481Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":false}},"instructions":"Affinity is a local relationship model and social CRM. Search before creating contacts. Inspect before revising or merging. Record direct evidence honestly, keep identities and structural ties distinct from social links, and ask for clarification when a target is ambiguous. Review commitments and recurring dates regularly. Derived scores guide attention and do not prove relationship quality.","protocolVersion":"2025-11-25","serverInfo":{"name":"ghostpaw-affinity","title":"Affinity","version":"0.7.2"}}}}
{"at":"2026-11-23T00:57:59.481Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:57:59.481Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:57:59.483Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Search contacts by name, identity, attributes, link roles, bonds and event text. All whitespace tokens must match. Dormant and lost contacts are excluded by default; use includeDormant and includeLost to include them.","inputSchema":{"additionalProperties":false,"description":"Search affinity contacts.","properties":{"attribute":{"oneOf":[{"description":"Attribute filter.","type":"string"},{"description":"AND filters.","items":{"description":"Attribute filter.","type":"string"},"type":"array"}]},"includeDormant":{"description":"Whether dormant contacts are included.","type":"boolean"},"includeLost":{"description":"Include lost contacts (search excludes them by default).","type":"boolean"},"includeOwner":{"description":"Whether owner contacts are included.","type":"boolean"},"kind":{"description":"Optional contact kind filter.","enum":["human","agent","group","company","team","pet","service","other"],"type":"string"},"lifecycleState":{"description":"Optional lifecycle state filter.","enum":["active","dormant","merged","lost"],"type":"string"},"limit":{"description":"Optional result limit.","type":"integer"},"offset":{"description":"Optional result offset.","type":"integer"},"query":{"description":"Free-text or natural-key query.","type":"string"},"scope":{"description":"Search scope; defaults to contacts.","enum":["contacts","events","all"],"type":"string"},"tag":{"oneOf":[{"description":"Tag filter.","type":"string"},{"description":"AND tags.","items":{"description":"Tag filter.","type":"string"},"type":"array"}]},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["query"],"type":"object"},"name":"search_affinity"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Review one affinity surface such as contacts, journals, link queues, commitments, dates, graph state, or merge history.","inputSchema":{"additionalProperties":false,"description":"Review one affinity surface.","properties":{"attribute":{"oneOf":[{"description":"Attribute filter.","type":"string"},{"description":"AND filters.","items":{"description":"Attribute filter.","type":"string"},"type":"array"}]},"channel":{"description":"Filter events by channel.","type":"string"},"commitmentType":{"description":"Optional commitment type filter.","enum":["promise","agreement"],"type":"string"},"contact":{"description":"Optional target contact locator.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"contactIds":{"description":"Optional contact-id subset.","items":{"description":"Contact id.","type":"integer"},"type":"array"},"eventTypes":{"description":"Optional event-type filter.","items":{"description":"Event type.","enum":["conversation","activity","gift","support","milestone","observation","conflict","correction","transaction","promise","agreement","date_anchor"],"type":"string"},"type":"array"},"exactOnly":{"description":"Whether duplicate review is exact-only.","type":"boolean"},"horizonDays":{"description":"Optional horizon-days filter.","type":"integer"},"includeArchived":{"description":"Whether archived links are included.","type":"boolean"},"includeContent":{"description":"Deprecated alias for --with-content; includes verbatim event content.","type":"boolean"},"includeDismissed":{"description":"Whether dismissed pairs are included in duplicate review (marked with dismissed flag).","type":"boolean"},"includeDormant":{"description":"Whether dormant rows are included.","type":"boolean"},"includeLost":{"description":"Include lost contacts (search excludes them by default).","type":"boolean"},"includeObserved":{"description":"Whether observed links are included.","type":"boolean"},"includeOwner":{"description":"Whether owner contacts are included.","type":"boolean"},"includeStructural":{"description":"Include structural ties as marked chart edges.","type":"boolean"},"kind":{"description":"Optional contact kind or link kind filter, depending on the view.","type":"string"},"lifecycleState":{"description":"Optional contact lifecycle-state filter.","enum":["active","dormant","merged","lost"],"type":"string"},"limit":{"description":"Optional result limit, 1..10000 (default 50); use offset for paging.","type":"integer"},"link":{"description":"Optional target link locator.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"isStructural":{"description":"Optional structural discriminator.","type":"boolean"},"kind":{"description":"Optional link kind.","type":"string"},"role":{"description":"Optional link role.","type":"string"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"},"linkState":{"description":"Optional link state filter.","enum":["active","dormant","strained","broken","archived"],"type":"string"},"minScore":{"description":"Optional duplicate minimum score (default 0.5; use 0 for all candidates).","type":"number"},"momentKind":{"description":"Optional moment kind filter.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional current timestamp for overdue calculations. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"offset":{"description":"Optional result offset.","type":"integer"},"recurrenceKind":{"description":"Optional recurrence-kind filter.","enum":["birthday","anniversary","renewal","memorial","custom_yearly"],"type":"string"},"ref":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"refId":{"description":"External reference id.","type":"string"},"refSource":{"description":"External reference source.","type":"string"},"since":{"description":"Optional lower timestamp bound. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"tag":{"oneOf":[{"description":"Tag filter.","type":"string"},{"description":"AND tags.","items":{"description":"Tag filter.","type":"string"},"type":"array"}]},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"},"until":{"description":"Optional upper timestamp bound. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"view":{"description":"Which review surface to return.","enum":["contacts.list","contacts.duplicates","events.timeline","events.thread","events.contact_journal","events.link_timeline","events.moments","commitments.open","links.owner","links.observed","links.progression_readiness","links.radar","dates.upcoming","graph.chart","merges.history","merges.dismissed"],"type":"string"},"withContent":{"description":"Include verbatim event content.","type":"boolean"}},"required":["view"],"type":"object"},"name":"review_affinity"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Inspect one exact affinity item such as the owner profile, a contact profile, or one link detail.","inputSchema":{"additionalProperties":false,"description":"Inspect one exact affinity item.","properties":{"contact":{"description":"Target contact. Required when kind=contact_profile. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"eventId":{"description":"Exact event id.","type":"integer"},"kind":{"description":"What to inspect.","enum":["event","owner_profile","contact_profile","link"],"type":"string"},"link":{"description":"Target link. Required when kind=link. Provide linkId or endpoints.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"},"recentEventsLimit":{"description":"Optional recent-events cap.","type":"integer"},"ref":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"refId":{"description":"External reference id.","type":"string"},"refSource":{"description":"External reference source.","type":"string"},"topLinksLimit":{"description":"Optional top-links cap.","type":"integer"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind"],"type":"object"},"name":"inspect_affinity_item"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Create, revise, export or permanently delete a contact (confirm: true required; owner cannot be deleted). Export without contact exports the whole database. Lifecycle lost is soft delete. ALWAYS search_affinity first before creating — duplicates corrupt the graph.","inputSchema":{"additionalProperties":false,"description":"Manage contacts.","properties":{"action":{"description":"Operation to perform.","enum":["create","revise","migrate_kind","set_lifecycle","export","delete"],"type":"string"},"confirm":{"description":"Required true for permanent deletion.","type":"boolean"},"contact":{"description":"Target contact. Required when action=revise or set_lifecycle. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"input":{"additionalProperties":false,"description":"New contact payload. Required when action=create.","properties":{"bootstrapOwner":{"description":"Whether this contact should be the owner.","type":"boolean"},"doNotContact":{"description":"Block outbound engagement unless explicitly overridden.","type":"boolean"},"identities":{"description":"Optional identities to attach. An identity owned by another live contact causes a conflict, or returns that contact when ifExists=return.","items":{"additionalProperties":false,"properties":{"label":{"description":"Optional label.","type":"string"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"},"verified":{"description":"Verified identity.","type":"boolean"}},"required":["type","value"],"type":"object"},"type":"array"},"ifExists":{"description":"Identity collision policy; return attaches nothing.","enum":["error","return"],"type":"string"},"kind":{"description":"Contact kind.","enum":["human","agent","group","company","team","pet","service","other"],"type":"string"},"name":{"description":"Contact name.","type":"string"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":["name","kind"],"type":"object"},"kind":{"description":"Replacement contact kind for migrate_kind. Owner must remain human or agent. Audited without bond mechanics.","enum":["human","agent","group","company","team","pet","service","other"],"type":"string"},"lifecycleState":{"description":"Target lifecycle state. Required when action=set_lifecycle.","enum":["active","dormant","merged","lost"],"type":"string"},"options":{"additionalProperties":false,"description":"Optional lifecycle metadata.","properties":{"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":[],"type":"object"},"patch":{"additionalProperties":false,"description":"Allowed contact patch. Required when action=revise.","properties":{"doNotContact":{"description":"Block outbound engagement unless explicitly overridden.","type":"boolean"},"name":{"description":"Optional replacement name.","type":"string"}},"required":[],"type":"object"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_contact"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Merge one loser contact into one winner contact using explicit contact locators.","inputSchema":{"additionalProperties":false,"description":"Merge two contacts.","properties":{"loser":{"description":"Loser contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"now":{"description":"Optional merge timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"reasonSummary":{"description":"Optional merge reason.","type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"},"winner":{"description":"Winner contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"}},"required":["winner","loser"],"type":"object"},"name":"merge_contacts"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Dismiss or un-dismiss a duplicate candidate pair so it does not resurface in review_affinity contacts.duplicates.","inputSchema":{"additionalProperties":false,"description":"Dismiss or un-dismiss a duplicate candidate pair.","properties":{"action":{"description":"Action to perform.","enum":["dismiss","undismiss"],"type":"string"},"left":{"description":"Left contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional reason for the dismissal."},"right":{"description":"Right contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action","left","right"],"type":"object"},"name":"manage_duplicate_dismissal"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add, revise, verify, or remove one routing identity on a contact. Use this for emails, phone numbers, social handles, and URLs — anything that could locate a person. Do not use manage_attribute for these.","inputSchema":{"additionalProperties":false,"description":"Add, revise, verify, or remove one routing identity on a contact.","properties":{"action":{"description":"Operation to perform.","enum":["add","revise","verify","remove"],"type":"string"},"contact":{"description":"Target contact. Required when action=add. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"ifExists":{"description":"Return an existing identity on this contact without changes.","enum":["error","return"],"type":"string"},"type":{"description":"Identity type: did, atproto_did, email, phone, url, website, handle, x, twitter, linkedin, github, mastodon, bluesky, telegram, whatsapp, signal, matrix, discord, slack, instagram, facebook, youtube, tiktok, address, other, account_id, alias, or custom:<name> (lowercase a-z, 0-9, underscore or hyphen).","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"identityId":{"description":"Identity id. Required when action=revise, verify, or remove.","type":"integer"},"input":{"additionalProperties":false,"description":"New identity payload. Required when action=add.","properties":{"ifExists":{"description":"Return an existing identity on this contact without changes.","enum":["error","return"],"type":"string"},"label":{"description":"Optional label.","type":"string"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"type":{"description":"Identity type: did, atproto_did, email, phone, url, website, handle, x, twitter, linkedin, github, mastodon, bluesky, telegram, whatsapp, signal, matrix, discord, slack, instagram, facebook, youtube, tiktok, address, other, account_id, alias, or custom:<name> (lowercase a-z, 0-9, underscore or hyphen).","type":"string"},"value":{"description":"Identity value.","type":"string"},"verified":{"description":"Whether the identity starts verified.","type":"boolean"}},"required":["type","value"],"type":"object"},"patch":{"additionalProperties":false,"description":"Identity patch. Required when action=revise.","properties":{"label":{"description":"Optional label.","type":"string"},"type":{"description":"Optional identity type: did, atproto_did, email, phone, url, website, handle, x, twitter, linkedin, github, mastodon, bluesky, telegram, whatsapp, signal, matrix, discord, slack, instagram, facebook, youtube, tiktok, address, other, account_id, alias, or custom:<name> (lowercase a-z, 0-9, underscore or hyphen).","type":"string"},"value":{"description":"Optional identity value.","type":"string"}},"required":[],"type":"object"},"removedAt":{"description":"Removal timestamp. Optional for action=remove. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"},"verifiedAt":{"description":"Verification timestamp. Optional for action=verify. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":["action"],"type":"object"},"name":"manage_identity"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Seed social links, revise bond and state, and manage structural ties. Seed a link as soon as a relationship is mentioned — do not wait for repeated evidence.","inputSchema":{"additionalProperties":false,"description":"Seed social links, revise bond and state, and manage structural ties.","properties":{"action":{"description":"Operation to perform.","enum":["revise","seed_social_link","revise_bond","override_state","set_structural_tie","remove_structural_tie"],"type":"string"},"bond":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Bond text. Required when action=revise_bond. Null to clear."},"from":{"description":"Source contact. Required when action=seed_social_link or set_structural_tie. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"input":{"description":"Full payload for seed_social_link or set_structural_tie. Alternative to top-level kind/role.","properties":{"affinity":{"description":"Affinity from 0 inclusive to 1 exclusive.","type":"number"},"bond":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Bond text; null clears."},"cadenceDays":{"description":"Positive days pins cadence; null on revise restores derivation.","oneOf":[{"type":"number"},{"type":"null"}]},"ifExists":{"description":"Existing link behavior.","enum":["error","return"],"type":"string"},"kind":{"description":"Link kind.","type":"string"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"rank":{"description":"Non-negative relationship rank.","type":"integer"},"role":{"description":"Optional role.","type":"string"},"state":{"description":"Relationship state.","enum":["active","dormant","strained","broken","archived"],"type":"string"},"trust":{"description":"Trust from 0 to 1.","type":"number"}},"type":"object"},"kind":{"description":"Link kind. Required for seed_social_link and set_structural_tie. Can be passed here or inside input. For seed_social_link: personal, family, professional, romantic, care, service, observed, other_relational. For set_structural_tie: works_at, manages, member_of, married_to, partner_of, parent_of, child_of, sibling_of, friend_of, client_of, vendor_of, reports_to, belongs_to, other_structural.","type":"string"},"link":{"description":"Target link. Required when action=revise_bond, override_state, or remove_structural_tie. Provide linkId or endpoints.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"isStructural":{"description":"Optional structural discriminator.","type":"boolean"},"kind":{"description":"Optional link kind.","type":"string"},"role":{"description":"Optional link role.","type":"string"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"},"options":{"additionalProperties":false,"description":"Optional metadata.","properties":{"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":[],"type":"object"},"patch":{"additionalProperties":false,"description":"Replacement link fields; cadenceDays null unpins.","properties":{"affinity":{"description":"Affinity from 0 inclusive to 1 exclusive.","type":"number"},"bond":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Bond text; null clears."},"cadenceDays":{"description":"Positive days pins cadence; null on revise restores derivation.","oneOf":[{"type":"number"},{"type":"null"}]},"rank":{"description":"Non-negative relationship rank.","type":"integer"},"state":{"description":"Relationship state.","enum":["active","dormant","strained","broken","archived"],"type":"string"},"trust":{"description":"Trust from 0 to 1.","type":"number"}},"required":[],"type":"object"},"removedAt":{"description":"Removal timestamp. Optional for action=remove_structural_tie. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"role":{"description":"Optional role for seed_social_link or set_structural_tie. Can be passed here or inside input.","type":"string"},"state":{"description":"Link state. Required when action=override_state.","enum":["active","dormant","strained","broken","archived"],"type":"string"},"to":{"description":"Target contact. Required when action=seed_social_link or set_structural_tie. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_relationship"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Record one social event such as an interaction, observation, milestone, or transaction. For interactions, milestones, and transactions the owner contact is auto-injected into participants if missing. Observations may omit the owner when recording third-party evidence.","inputSchema":{"additionalProperties":false,"anyOf":[{"additionalProperties":false,"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants","type"],"type":"object"},"kind":{"enum":["interaction"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"},{"additionalProperties":false,"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants"],"type":"object"},"kind":{"enum":["observation"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"},{"additionalProperties":false,"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants"],"type":"object"},"kind":{"enum":["milestone"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"},{"additionalProperties":false,"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants"],"type":"object"},"kind":{"enum":["transaction"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"}],"description":"Record one social event.","properties":{"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Event payload. Always required. Interaction events also require `type`.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the event occurred, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"identity":{"additionalProperties":false,"properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"required":[],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","enum":["owner_initiated","other_initiated","mutual","observed"],"type":"string"},"role":{"description":"Participant role.","enum":["actor","recipient","subject","observer","mentioned"],"type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Event significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Event summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"type":{"description":"Interaction subtype. Required when kind=interaction, omit otherwise.","enum":["conversation","activity","gift","support","conflict","correction"],"type":"string"}},"required":["occurredAt","significance","participants"],"type":"object"},"kind":{"description":"Event kind.","enum":["interaction","observation","milestone","transaction"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["kind","input"],"type":"object"},"name":"record_event"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Record or resolve one commitment such as a promise or agreement. The owner contact is auto-injected into participants if missing.","inputSchema":{"additionalProperties":false,"description":"Record or resolve one commitment.","properties":{"action":{"description":"Operation to perform.","enum":["record","resolve"],"type":"string"},"commitmentEventId":{"description":"Commitment event id. Required when action=resolve.","type":"integer"},"input":{"additionalProperties":false,"anyOf":[{"required":["summary"],"type":"object"},{"required":["content"],"type":"object"}],"description":"Commitment payload. Required when action=record.","properties":{"affectsBond":{"description":"Whether evidence affects the relationship; defaults false for like/follow/repost labels and observations with significance <=2; explicit true opts in.","type":"boolean"},"channel":{"description":"Free-text channel, trimmed and lowercased, at most 40 characters.","type":"string"},"commitmentType":{"description":"Promise or agreement.","enum":["promise","agreement"],"type":"string"},"content":{"description":"Verbatim text, including empty text; at most 1 MB UTF-8. Summary may be omitted when content is supplied.","type":"string"},"dueAt":{"description":"Optional due timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"dueOn":{"description":"Due calendar day.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"momentKind":{"description":"Optional moment kind.","enum":["breakthrough","rupture","reconciliation","milestone","turning_point"],"type":"string"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredAt":{"description":"When the commitment was made, Unix timestamp in milliseconds. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"overrideDoNotContact":{"description":"Explicitly override a contact doNotContact block for this event.","type":"boolean"},"parentEventId":{"description":"Parent event id.","type":"integer"},"parentRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"participants":{"description":"Participant list. Must be non-empty and include the owner contact.","items":{"additionalProperties":false,"properties":{"contact":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"}},"required":["contactId"],"type":"object"},"contactId":{"description":"Participant contact id. The owner contact MUST be included.","type":"integer"},"directionality":{"description":"Optional directionality.","type":"string"},"role":{"description":"Participant role.","type":"string"}},"required":["role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Commitment significance from 1 to 10.","maximum":10,"minimum":1,"type":"integer"},"summary":{"description":"Commitment summary. Must be non-empty.","type":"string"},"threadRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"}},"required":["commitmentType","occurredAt","significance","participants"],"type":"object"},"options":{"additionalProperties":false,"description":"Optional metadata.","properties":{"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"resolvingEvent":{"additionalProperties":false,"properties":{"occurredAt":{"description":"Optional resolving event timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"occurredOn":{"description":"Calendar day.","type":"string"},"participants":{"description":"Resolving participants.","items":{"additionalProperties":false,"properties":{"contactId":{"description":"Contact id.","type":"integer"},"directionality":{"description":"Directionality.","type":"string"},"role":{"description":"Role.","type":"string"}},"required":["contactId","role"],"type":"object"},"type":"array"},"provenance":{},"significance":{"description":"Optional resolving event significance.","type":"integer"},"summary":{"description":"Optional resolving event summary.","type":"string"},"type":{"description":"Optional resolving event type.","type":"string"}},"required":[],"type":"object"}},"required":[],"type":"object"},"resolution":{"description":"How the commitment was resolved. Required when action=resolve.","enum":["kept","cancelled","broken"],"type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_commitment"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add, revise, or remove recurring date anchors on contacts or links. Use this for birthdays, anniversaries, and yearly events — not manage_attribute.","inputSchema":{"additionalProperties":false,"description":"Add, revise, or remove recurring date anchors.","properties":{"action":{"description":"Operation to perform.","enum":["add","revise","remove"],"type":"string"},"anchorEventId":{"description":"Anchor event id. Required when action=revise or remove.","type":"integer"},"input":{"additionalProperties":false,"description":"Date anchor payload. Required when action=add.","properties":{"anchorDay":{"description":"Anchor day, 1–31 (validated per month).","type":"integer"},"anchorMonth":{"description":"Anchor month, 1–12.","type":"integer"},"force":{"description":"Whether to bypass duplicate checks.","type":"boolean"},"now":{"description":"Optional timestamp override. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"recurrenceKind":{"description":"Recurrence kind.","enum":["birthday","anniversary","renewal","memorial","custom_yearly"],"type":"string"},"significance":{"description":"Significance from 1 to 10.","type":"integer"},"summary":{"description":"Summary. Must be non-empty.","type":"string"},"target":{"additionalProperties":false,"description":"Date-anchor target.","properties":{"contact":{"description":"Contact locator. Required when kind=contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"kind":{"description":"Target kind.","enum":["contact","link"],"type":"string"},"link":{"description":"Link locator. Required when kind=link. Provide linkId or endpoints.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"isStructural":{"description":"Optional structural discriminator.","type":"boolean"},"kind":{"description":"Optional link kind.","type":"string"},"role":{"description":"Optional link role.","type":"string"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"}},"required":["kind"],"type":"object"}},"required":["target","recurrenceKind","anchorMonth","anchorDay","summary","significance"],"type":"object"},"options":{"additionalProperties":false,"description":"Optional metadata.","properties":{"force":{"description":"Whether duplicate checks should be bypassed.","type":"boolean"},"now":{"description":"Optional timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]}},"required":[],"type":"object"},"patch":{"additionalProperties":false,"description":"Anchor patch. Required when action=revise.","properties":{"anchorDay":{"description":"Optional day, 1–31.","type":"integer"},"anchorMonth":{"description":"Optional month, 1–12.","type":"integer"},"recurrenceKind":{"description":"Optional recurrence kind.","enum":["birthday","anniversary","renewal","memorial","custom_yearly"],"type":"string"},"significance":{"description":"Optional significance, 1–10.","type":"integer"},"summary":{"description":"Optional summary.","type":"string"}},"required":[],"type":"object"},"removedAt":{"description":"Removal timestamp. Optional for action=remove. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_date_anchor"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Set, unset, or replace custom metadata attributes on contacts, links and events. For emails, phones, handles, and URLs use manage_identity instead — those are routing keys, not attributes.","inputSchema":{"additionalProperties":false,"description":"Set, unset, or replace attributes on contacts, links and events.","properties":{"action":{"description":"Operation to perform.","enum":["set","unset","replace"],"type":"string"},"entries":{"description":"Key-value map to replace all attributes. Required when action=replace.","items":{"additionalProperties":false,"properties":{"name":{"description":"Attribute name.","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Attribute value, or null for presence/tag semantics."}},"required":["name"],"type":"object"},"type":"array"},"name":{"description":"Attribute name. Required when action=set or unset.","type":"string"},"removedAt":{"description":"Removal timestamp. Optional for action=unset. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"target":{"additionalProperties":false,"description":"Attribute target. Always required.","properties":{"contact":{"description":"Contact locator. Required when kind=contact. Provide contactId or identity.","properties":{"contactId":{"description":"Exact contact id.","type":"integer"},"identity":{"additionalProperties":false,"description":"Contact identity locator.","properties":{"type":{"description":"Identity type.","type":"string"},"value":{"description":"Identity value.","type":"string"}},"required":["type","value"],"type":"object"}},"type":"object"},"eventId":{"description":"Target event id; provide eventId or ref.","type":"integer"},"kind":{"description":"Target kind.","enum":["contact","link","event"],"type":"string"},"link":{"description":"Link locator. Required when kind=link. Provide linkId or endpoints.","properties":{"endpoints":{"additionalProperties":false,"description":"Endpoint-based link locator.","properties":{"fromContactId":{"description":"From contact id.","type":"integer"},"toContactId":{"description":"To contact id.","type":"integer"}},"required":["fromContactId","toContactId"],"type":"object"},"linkId":{"description":"Exact link id.","type":"integer"}},"type":"object"},"ref":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"}},"required":["kind"],"type":"object"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Attribute value. Required when action=set. Null for presence/tag semantics."}},"required":["action"],"type":"object"},"name":"manage_attribute"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Revise or delete one event by eventId or external reference. Delete requires confirm=true and recomputes affected relationships.","inputSchema":{"additionalProperties":false,"properties":{"action":{"description":"Action.","enum":["revise","delete"],"type":"string"},"confirm":{"description":"Must be true to delete.","type":"boolean"},"eventId":{"description":"Event id; provide eventId or ref.","type":"integer"},"patch":{"additionalProperties":false,"description":"Fields to revise; externalRef may only be added when absent.","properties":{"channel":{"description":"Channel, at most 40 characters.","type":"string"},"content":{"description":"Verbatim content, at most 1 MB UTF-8.","type":"string"},"externalRef":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"occurredAt":{"description":"Event timestamp. Accepts epoch milliseconds integer, ISO 8601 date-time with Z/offset, YYYY-MM-DD, DD.MM.YYYY, today, tomorrow, yesterday, +3d or -2d. UTC midnight for dates; dueAt uses UTC end of day.","oneOf":[{"type":"integer"},{"type":"string"}]},"significance":{"description":"Significance 1..10.","type":"integer"},"summary":{"description":"Short non-empty label.","type":"string"},"type":{"description":"Type within the same event kind.","enum":["conversation","activity","gift","support","conflict","correction","observation","milestone","transaction","promise","agreement","date_anchor"],"type":"string"}},"required":[],"type":"object"},"ref":{"additionalProperties":false,"properties":{"id":{"description":"Non-empty external id.","type":"string"},"source":{"description":"External source; trimmed and lowercased.","type":"string"}},"required":["source","id"],"type":"object"},"refId":{"description":"External reference id.","type":"string"},"refSource":{"description":"External reference source.","type":"string"},"tz":{"description":"IANA time zone for due days and local calendar calculations; defaults to TZ or the process local zone.","type":"string"}},"required":["action"],"type":"object"},"name":"manage_event"}]}}}
