Workspace Router
workspaceRoute this chat to an allowed Git project; list or discover repositories, then open the relevant one before Git operations or starting Pi/Codex agent pools.
Instructions
Route this chat to an allowed project. Use discover when a requested directory is not itself a Git repository; then open the relevant discovered repository before Git operations or starting Pi/Codex pools. Selection belongs only to this MCP session, so other chats may select different projects through the same endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Allowed directory for action=open or action=discover. | |
| action | Yes | ||
| max_depth | No | Repository discovery depth. Default: 3. | |
| max_results | No | Repository discovery result limit. Default: 100. | |
| workspace_id | No | Stable workspace id for action=use. |