search_commands
Discover configured fire commands for a project or list all available commands by query. Use it before writing build, test, run, or deploy commands to avoid guessing.
Instructions
Discover the user's configured fire commands. Pass your working directory as cwd to see that project's local commands; omit it to use the server's directory. path is the exact command to run. Omit query or pass an empty string to list everything; otherwise it is a case-insensitive substring over paths, descriptions, and exec/eval templates. Underlying templates are hidden by default; request include_exec only for context, and never copy or run them directly. Use this first when the user names an app, service or task you don't recognize, and before writing your own build/test/run/deploy commands.
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": "search_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory whose local commands should be discovered. Defaults to the server's cwd. | |
| query | No | Optional case-insensitive substring to match against command paths, descriptions, and exec/eval templates. Omit or pass an empty string to list every command. | |
| include_exec | No | Include underlying exec/eval templates for context. Never run these directly; run `path`. |