add_to_network
Add someone to your network. Known (e.g. a search_people hit) → tracked; new → created/imported + tracked. Accepts person_id OR free_form:{name,…} + optional tags. Returns canonical person_id. DEDUPE: a new free_form contact that strongly matches someone you already have returns { created:false, potential_duplicates, confirmation_token } instead of creating — track the existing person, or re-call with the confirmation_token only if it's genuinely someone new.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_to_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Initial tags to apply. Prefer an existing tag from your network over coining a near-duplicate (reuse `sf`, don't add `san-francisco`); lowercase, and use the event:/place:/topic: namespaces where they fit. | |
| free_form | No | A brand-new contact to create + track. Use when there is no person_id. | |
| person_id | No | person_id of an existing search_people hit to start tracking. | |
| custom_name | No | Your own display name for this person. | |
| confirmation_token | No | From a prior potential_duplicates response — pass it back to create despite the flagged duplicates (only after the user confirms it's a new person). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether noticed completed the operation. | |
| data | No | The operation result when ok is true. | |
| error | No | A human-readable error when ok is false. |