Implementation
gradeNot graded
gradeNot graded
list_plansAnswer
读取设备上当前的计划、课程时间、老师和地点。
View tool JSON
{
"name": "list_plans",
"kind": "answer",
"impl": "imperative",
"description": "读取设备上当前的计划、课程时间、老师和地点。",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/nextplan-pwa/"
}create_planAction
在本机创建一个新计划。dueDate 必须是 ISO 8601 时间。
View tool JSON
{
"name": "create_plan",
"kind": "act",
"impl": "imperative",
"description": "在本机创建一个新计划。dueDate 必须是 ISO 8601 时间。",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"location": {
"type": "string"
},
"notes": {
"type": "string"
}
},
"required": [
"title",
"dueDate"
],
"additionalProperties": false
},
"page": "/nextplan-pwa/"
}update_planAction
按 id 修改计划名称、时间、地点、老师或备注。只修改提供的字段。
View tool JSON
{
"name": "update_plan",
"kind": "act",
"impl": "imperative",
"description": "按 id 修改计划名称、时间、地点、老师或备注。只修改提供的字段。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"location": {
"type": "string"
},
"teacher": {
"type": "string"
},
"notes": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"page": "/nextplan-pwa/"
}delete_planSensitive Action
按计划 id 永久删除本机计划及附件。
View tool JSON
{
"name": "delete_plan",
"kind": "transact",
"impl": "imperative",
"description": "按计划 id 永久删除本机计划及附件。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"page": "/nextplan-pwa/"
}