Register Relationship
register_relationshipRecord an NPC's cross-run or global relationship state by linking entity IDs with optional affinity, scope, and project context.
Instructions
注册 NPC 跨局关系
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": {
"id": "<id>",
"entity_id": "<entity_id>"
},
"name": "register_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| scope | No | ||
| affinity | No | ||
| entity_id | Yes | ||
| project_id | No |