add_peer
Register a Neotoma peer to enable bidirectional sync across servers, specifying peer URL, entity types, and shared secret for webhook verification.
Instructions
Register a Neotoma peer (peer_config) for bidirectional sync: peer_url, entity_types allowlist, shared_secret for POST /sync/webhook verification.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"peer_id": "<peer_id>",
"peer_name": "<peer_name>",
"peer_url": "<peer_url>",
"direction": "<direction>",
"entity_types": "<entity_types>",
"sync_scope": "<sync_scope>",
"auth_method": "<auth_method>",
"conflict_strategy": "<conflict_strategy>"
},
"name": "add_peer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer_id | Yes | ||
| peer_url | Yes | ||
| direction | Yes | ||
| peer_name | Yes | ||
| sync_scope | Yes | ||
| auth_method | Yes | ||
| entity_types | Yes | ||
| shared_secret | No | Optional; generated when auth_method is shared_secret and omitted. | |
| conflict_strategy | Yes | ||
| sync_target_user_id | No | Optional. Authenticated user_id on the peer instance for outbound POST /sync/webhook target_user_id. | |
| peer_public_key_thumbprint | No | Optional AAuth public-key thumbprint expected from this peer when auth_method is aauth. |