1.5 KiB
1.5 KiB
name, description
| name | description |
|---|---|
| shd-active-projects | Use when the user asks for all active SHD projects, project deadlines, project statuses, or a project register sorted by the nearest completion date. |
Active SHD projects
Workflow
-
Call
shd_list_projectsonce witharchived: falseandlimit: 100. -
If the user supplied a search term, pass it as
q; otherwise do not add a search filter. -
Use the project fields returned by that tool. Do not call
shd_get_projectonce per row just to repeat list data. -
Sort projects with a non-null
deadlinein ascending order. Put projects without a deadline after dated projects; do not invent a date. -
Return the compact table:
Проект | Дата завершения | Статус -
Preserve the server's project name/code and status. If a deadline is a datetime, format it with its returned timezone when available; otherwise keep the value unmodified and state that timezone data was unavailable.
Boundaries
- “Активные” defaults to non-archived projects (
archived: false). If the user means a particular business status rather than archive state, ask which status or report the returned statuses without filtering them locally. - Do not use task due dates as project completion dates.
- If the server indicates more records than the tool can return, report that the current tool limit was reached; do not claim a complete list.
- This workflow is read-only and must not update, archive or delete projects.