list_links
Retrieve one-hop neighbors of a stored memory, including linked records, relation types, and direction, to map connections and discover related context.
Instructions
列某条记忆的一跳邻居,返回 {"record_id", "links"};每项含 id/content/type/tags/relation/direction(out/in/both)。 记录不存在返回 {"error": "NOT_FOUND"}。 English: List one-hop neighbors of a memory as {"record_id", "links"}; each item has id/content/type/tags/relation/direction (out/in/both).
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": {
"record_id": "<record_id>"
},
"name": "list_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | ||
| project | No | ||
| relation | No | ||
| record_id | Yes |