Search
searchSearches file contents, titles, and descriptions — hybrid keyword + semantic ranking over one natural-language query. Scope with folderPath, narrow by type.
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": {
"context": "<context>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Maximum number of results to return. | |
| type | No | Only files of this category — the caller-chosen slug set on upsert, not a mime type or extension. | |
| query | No | What to search for, in natural language or keywords — matched across file content, titles, and descriptions (hybrid keyword + semantic ranking). | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| folderPath | No | Restrict results to this folder subtree, e.g. '/docs'. | |
| workspace_id | No | Which workspace to act in - a workspace id (whoami returns the id of your default workspace). Omit to use your default workspace. |