GroundTruth Dispatch
gt_dispatchInterprets vague user intents and routes them to the appropriate GroundTruth tool, returning a routing decision with tool name, arguments, and confidence score.
Instructions
Routes a plain-text user query to the correct gt_* tool with the right arguments. Examples: "use gt", "use gt for react", "find issues in this codebase", "migrate next from 14 to 15".
WHEN TO USE: the user's intent is ambiguous, they invoked gt without specifying a tool ("use gt mcp"), or you want a single entry point that always returns something actionable.
WHEN NOT TO USE: you already know which gt_* tool fits. Call it directly to save one round-trip.
OUTPUT: a routing decision with tool name, args, reason, and a 0-to-1 confidence score. The response text also embeds the routing table and a recommended JSON call so you can make the next tool call without another lookup.
Use it for "use gt mcp" in any phrasing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Plain-text user intent. Examples: 'use gt for react', 'find issues', 'migrate next from 14 to 15', 'best practices for fastapi'. | |
| projectPath | No | Optional project directory for project-level intents (auto-scan, audit). Defaults to current working directory. |