workspace_search
Find matching text and code snippets across indexed workspace files using keyword search. Results are returned from offline index.
Instructions
Perform a fast keyword search across indexed workspace text/code files completely offline.
Must run `workspace_index` at least once before searching to populate results.
Args:
query: Keyword or terms to search for.
limit: Maximum matching snippets to return. Defaults to 10.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "workspace_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |