查询会话关联
get_linked_sessionsRetrieve all sessions linked to a given session in both directions, including relationship kind and direction, to map conversation connections.
Instructions
某会话的全部关联(双向:它指向的 / 指向它的),带 kind 与方向
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": {
"session_id": "<session_id>"
},
"name": "get_linked_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | 项目根绝对路径。仅当服务端提示 unresolved_project(多项目/未自动识别)时选择传此参;传一次后本连接记住 | |
| session_id | Yes |