search_tasks
Search for tasks across your Notion workflow database using keywords to find specific items in your task and project management system.
Instructions
在工作流库中全文搜索任务。
Args: query: 搜索关键词
Returns: 匹配的任务列表
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- tools/workflow.py:232-242 (handler)The implementation of the search_tasks tool handler in tools/workflow.py.
def search_tasks(query: str) -> list[dict]: """ 在工作流库中全文搜索任务。 Args: query: 搜索关键词 Returns: 匹配的任务列表 """ return [t.model_dump() for t in get_client().search_tasks(query)] - server.py:43-43 (registration)The registration of the search_tasks tool in server.py.
mcp.tool(search_tasks)