graph-path
Identify paths between nodes in a graph by specifying start and end points using IDs or labels. Supports exploration of relationships with customizable depth for efficient analysis.
Instructions
Find a path of nodes from A to B (by id or label/type).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from | Yes | ||
maxDepth | No | ||
to | Yes |
Input Schema (JSON Schema)
{
"properties": {
"from": {
"anyOf": [
{
"type": "number"
},
{
"properties": {
"label": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"label"
],
"type": "object"
}
]
},
"maxDepth": {
"type": "number"
},
"to": {
"anyOf": [
{
"type": "number"
},
{
"properties": {
"label": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"label"
],
"type": "object"
}
]
}
},
"required": [
"from",
"to"
],
"type": "object"
}