aeroedu_kg_path_find
Finds the shortest path between two concepts in a knowledge graph by traversing prerequisite relationships, returning an ordered list of nodes and estimated learning time.
Instructions
Tìm lộ trình học tập tối ưu từ khái niệm A đến khái niệm B trong Knowledge Graph. Dùng BFS để tìm đường ngắn nhất qua các prerequisite. Trả về danh sách node cần học theo thứ tự + thời gian ước tính.
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_node_id": "<from_node_id>",
"to_node_id": "<to_node_id>"
},
"name": "aeroedu_kg_path_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_node_id | Yes | Node xuất phát (khái niệm học sinh đã biết) | |
| to_node_id | Yes | Node đích (khái niệm muốn học) | |
| max_depth | No | Độ sâu tìm kiếm tối đa. Mặc định: 10 |