cos_task_search
Find tasks by meaning, not just keywords. Use natural language queries with optional status and domain filters to locate relevant tasks even when exact terms don't match.
Instructions
Semantic search over the task store with optional status/domain filters.
Use this when you need to find tasks related to a concept — even when exact keywords don't match. Falls back to LIKE on title + goal when embeddings are unavailable.
Args: query: Natural language query (e.g. "payment splitting multi vendor"). status: Optional status filter — one of open/wip/done/blocked. Empty = all. domain: Optional domain filter (BACKEND/FRONTEND/DOCS/INFRA/...). Empty = all. limit: Maximum results (1-100, default 10).
Returns: JSON with results and count. Each result: task_id, title, domain, status, file_path, goal_text, dependencies, score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| domain | No | ||
| status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |