update: Taskツール群の説明を更新

This commit is contained in:
Keisuke Hirata 2026-05-03 22:09:45 +09:00
parent 9cbcd87f20
commit a07ccb0158
No known key found for this signature in database

View File

@ -251,15 +251,22 @@ struct TaskUpdateTool {
store: TaskStore, store: TaskStore,
} }
const CREATE_DESCRIPTION: &str = "Create a session-lifetime task. Input only `subject` and \ const CREATE_DESCRIPTION: &str = "Create a session-lifetime task for short-term current-work \
tracking, not project management. Tasks are user-visible real-time status. Use this whenever you \
set a goal and work through steps, including implementation. Input only `subject` and \
`description`; `taskid` is assigned automatically and initial `status` is `pending`."; `description`; `taskid` is assigned automatically and initial `status` is `pending`.";
const LIST_DESCRIPTION: &str = "List every session-lifetime task, including completed and \ const LIST_DESCRIPTION: &str = "List every session-lifetime task, including completed and \
deleted entries. Takes an empty object as input."; deleted entries. Tasks are user-visible real-time status for short-term current-work tracking. \
const GET_DESCRIPTION: &str = "Get one session-lifetime task by `taskid`. Returns an error if \ Takes an empty object as input.";
the task does not exist."; const GET_DESCRIPTION: &str = "Get one session-lifetime task by `taskid`. Tasks are \
const UPDATE_DESCRIPTION: &str = "Update an existing session-lifetime task. Provide `taskid` and \ user-visible real-time status for short-term current-work tracking. Returns an error if the task \
at least one of `status`, `subject`, or `description`. `status` must be one of `pending`, \ does not exist.";
`inprogress`, `completed`, or `deleted`; deletion is logical (`status = deleted`)."; const UPDATE_DESCRIPTION: &str = "Update an existing session-lifetime task before moving to the \
next step. Tasks are user-visible real-time status; when working through steps, keep status \
current with `pending`, `inprogress`, `completed`, or `deleted`. Provide `taskid` and at least \
one of `status`, `subject`, or `description`; deletion is logical (`status = deleted`). If an \
unexpected problem blocks progress, do not force the next step: leave the task as-is, summarize \
the problem to the user, and end the turn.";
#[async_trait] #[async_trait]
impl Tool for TaskCreateTool { impl Tool for TaskCreateTool {