cursor_history_search
Search all Cursor AI chat sessions for a keyword or phrase. Retrieve matching sessions with surrounding context to locate past discussions.
Instructions
Search across all Cursor AI chat sessions for a keyword or phrase. Returns matching sessions with context around each match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default: 10) | |
| query | Yes | The search query (keyword or phrase to find) | |
| context | No | Number of source lines of context requested around each match (default: 50) | |
| workspace | No | Workspace path. Reuse the same scope for listing and reading a session index. | |
| includeCrossWorkspaceSources | No | Opt in to complementary sources outside this workspace, only for already selected session IDs. Default: false. |