find_page_by_root_path
Find a control plane page for a codebase. Use this to locate your project's page on session start.
Examples:
find_page_by_root_path(repo_url="https://github.com/user/repo") - by repo URL (preferred, cross-machine)
find_page_by_root_path(root_path="/path/to/project") - by local path (auto-detects repo URL)
Returns matching pages with match_type: "repo_match" (preferred), "exact" (path match), or "parent" (subdirectory).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_page_by_root_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_url | No | Git repository URL (preferred). Example: https://github.com/user/repo | |
| root_path | No | Codebase root path. Git remote URL is auto-detected from this path. |