link_memories
Build a lightweight graph by connecting two facts with a typed relation. Choose from relation types such as relates_to, caused_by, or part_of to clarify how facts connect.
Instructions
在两条事实间建立关系(轻量图)。
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": {
"from_id": "<from_id>",
"to_id": "<to_id>",
"rel_type": "<rel_type>"
},
"name": "link_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | ||
| from_id | Yes | ||
| rel_type | Yes | 关系类型,如 'relates_to'|'caused_by'|'part_of' |