search_tasks
Find tasks by text in names or notes using contains, anyWord, allWords, or exact matching. Narrow results by project or include completed tasks when needed.
Instructions
Full-text search across task names and notes. Simpler than filter_tasks for finding tasks by text. Supports match modes: contains, anyWord, allWords, exact.
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": "search_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return | |
| query | Yes | Search query - matches task names and notes | |
| searchIn | No | Where to search: 'all' (default), 'name' only, or 'note' only | all |
| matchMode | No | How to match: 'contains' (default), 'anyWord', 'allWords', or 'exact' | contains |
| projectId | No | Limit search to project with this ID | |
| projectName | No | Limit search to this project | |
| includeCompleted | No | Include completed tasks in results |