find_path
Find the shortest real path between two brain regions in an atlas using connectivity weights, returning path and distance or None when unreachable.
Instructions
Camino más corto real entre dos regiones del mismo atlas, sobre el
grafo de conectividad de connection_type (un peso mayor es una
conexión más fuerte, no un coste mayor -- el camino real más corto
tiende hacia las conexiones fuertes). path y distance quedan en
None cuando source_id/target_id no pertenecen a este atlas, o cuando
no existe ningún camino real entre ambos (p. ej. componentes
desconectadas) -- nunca se aproxima ni se inventa un camino.
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": {
"atlas_id": "<atlas_id>",
"source_id": "<source_id>",
"target_id": "<target_id>"
},
"name": "find_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atlas_id | Yes | ||
| source_id | Yes | ||
| target_id | Yes | ||
| min_weight | No | ||
| connection_type | No | structural |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| atlas_id | Yes | ||
| distance | Yes | ||
| source_id | Yes | ||
| target_id | Yes | ||
| min_weight | Yes | ||
| connection_type | Yes |