Plan Search Workflow
search.planPlan a search workflow for an exploratory objective and receive recommendations on indexing, literal search, regex explanation, or regex execution.
Instructions
Plan the MCP-first search workflow for an exploratory objective and recommend whether to ensure the index, use literal search, explain a regex, or run regex search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objective | Yes | Plain-language explanation of what the agent is trying to locate. | |
| pathHints | No | Optional folders, packages, or relative path globs that should scope the suggested search. | |
| workspaceRoot | No | Absolute workspace root to plan against. Defaults to the server workspace. | |
| knownExactString | No | Optional exact string to search for when it is already known. | |
| suspectedPattern | No | Optional first-pass regex or identifier candidate to plan around. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reasoning | Yes | ||
| fallbackPlan | Yes | ||
| mustEnsureIndex | Yes | ||
| suggestedRegexArgs | No | ||
| recommendedSequence | Yes | ||
| recommendedFirstTool | Yes | ||
| suggestedExplainArgs | No | ||
| suggestedLiteralArgs | No |