expand_links_network
Build a bounded directed link graph around a root eLabFTW experiment or item with BFS, so you can explore incoming and outgoing connections using depth and filter limits.
Instructions
Build the directed link graph around a root experiment/item via BFS. direction is 'both', 'outgoing' or 'incoming'; max_depth is capped at 3; node/edge/fan-out caps and optional filters (allowed_types, category_ids, status_ids, title_regex as JSON arrays/pattern) keep the graph bounded. Returns root, parameters, nodes, edges and truncation flags. Read-only.
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": {
"root_type": "<root_type>",
"root_id": "<root_id>"
},
"name": "expand_links_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_id | Yes | ||
| direction | No | both | |
| max_depth | No | ||
| max_edges | No | ||
| max_nodes | No | ||
| root_type | Yes | ||
| status_ids | No | ||
| include_raw | No | ||
| title_regex | No | ||
| category_ids | No | ||
| max_per_node | No | ||
| allowed_types | No | ||
| include_node_summaries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |