Return full path and sort structures by full pathes in list tools

This commit is contained in:
Jan Böhmer 2026-07-25 21:03:05 +02:00
parent f14418d889
commit e323ed9803
12 changed files with 106 additions and 34 deletions

View file

@ -42,6 +42,9 @@ readonly class StructuralElementOverview
/** @var string The name of the element */
#[Groups(['mcp_structural_overview:read'])]
public string $name,
/** @var string The full path of the element (including the names of all its parent elements, e.g. "Parent → Child") */
#[Groups(['mcp_structural_overview:read'])]
public string $full_path,
) {
}
}