update_project
Modify existing projects in Things 3 by updating titles, notes, deadlines, tags, completion status, and other project details using the project ID.
Instructions
更新现有的项目。需要提供项目ID和授权令牌。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 项目的ID(必需) | |
| authToken | No | 授权令牌(如未提供,将使用环境变量THINGS_AUTH_TOKEN) | |
| title | No | 新标题 | |
| notes | No | 新备注(替换现有) | |
| prependNotes | No | 在现有备注前添加 | |
| appendNotes | No | 在现有备注后添加 | |
| when | No | 时间安排 | |
| deadline | No | 截止日期 | |
| tags | No | 标签(替换所有) | |
| addTags | No | 添加标签 | |
| areaId | No | 区域ID | |
| area | No | 区域标题 | |
| completed | No | 完成状态 | |
| canceled | No | 取消状态 | |
| reveal | No | 是否显示 |
Input Schema (JSON Schema)
{
"properties": {
"addTags": {
"description": "添加标签",
"type": "string"
},
"appendNotes": {
"description": "在现有备注后添加",
"type": "string"
},
"area": {
"description": "区域标题",
"type": "string"
},
"areaId": {
"description": "区域ID",
"type": "string"
},
"authToken": {
"description": "授权令牌(如未提供,将使用环境变量THINGS_AUTH_TOKEN)",
"type": "string"
},
"canceled": {
"description": "取消状态",
"type": "boolean"
},
"completed": {
"description": "完成状态",
"type": "boolean"
},
"deadline": {
"description": "截止日期",
"type": "string"
},
"id": {
"description": "项目的ID(必需)",
"type": "string"
},
"notes": {
"description": "新备注(替换现有)",
"type": "string"
},
"prependNotes": {
"description": "在现有备注前添加",
"type": "string"
},
"reveal": {
"description": "是否显示",
"type": "boolean"
},
"tags": {
"description": "标签(替换所有)",
"type": "string"
},
"title": {
"description": "新标题",
"type": "string"
},
"when": {
"description": "时间安排",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}