append_task
Add text content to existing Notion tasks by appending to the end of page bodies. This tool integrates with Notion Workflow MCP to extend task details and maintain project documentation.
Instructions
向已有任务追加内容(追加到页面 body 末尾)。
Args: task_id: 任务的 Notion 页面 ID content: 要追加的文本内容
Returns: 更新后的任务元信息(不含完整 body)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| content | Yes |
Implementation Reference
- tools/workflow.py:212-226 (handler)The handler function 'append_task' which appends content to a task's body in Notion and returns the updated task object.
def append_task(task_id: str, content: str) -> dict: """ 向已有任务追加内容(追加到页面 body 末尾)。 Args: task_id: 任务的 Notion 页面 ID content: 要追加的文本内容 Returns: 更新后的任务元信息(不含完整 body) """ client = get_client() client.append_task_body(task_id, content) return client.get_task(task_id).model_dump()