diff --git a/src/Mcp/Tool/Task/CreateTaskTool.php b/src/Mcp/Tool/Task/CreateTaskTool.php index 7919819..651ef11 100644 --- a/src/Mcp/Tool/Task/CreateTaskTool.php +++ b/src/Mcp/Tool/Task/CreateTaskTool.php @@ -41,6 +41,10 @@ class CreateTaskTool private readonly CalDavService $calDavService, ) {} + /** + * @param int[] $tagIds IDs of the tags to attach + * @param int[] $collaboratorIds IDs of the collaborators to attach + */ public function __invoke( int $projectId, string $title, diff --git a/src/Mcp/Tool/Task/ListTasksTool.php b/src/Mcp/Tool/Task/ListTasksTool.php index 88096ef..9722ad0 100644 --- a/src/Mcp/Tool/Task/ListTasksTool.php +++ b/src/Mcp/Tool/Task/ListTasksTool.php @@ -18,6 +18,9 @@ class ListTasksTool private readonly Security $security, ) {} + /** + * @param int[] $tagIds IDs of the tags to filter by + */ public function __invoke( ?int $projectId = null, ?int $statusId = null, diff --git a/src/Mcp/Tool/Task/UpdateTaskTool.php b/src/Mcp/Tool/Task/UpdateTaskTool.php index 82c0c6b..09c53dc 100644 --- a/src/Mcp/Tool/Task/UpdateTaskTool.php +++ b/src/Mcp/Tool/Task/UpdateTaskTool.php @@ -38,6 +38,10 @@ class UpdateTaskTool private readonly CalDavService $calDavService, ) {} + /** + * @param int[] $tagIds IDs of the tags to attach + * @param int[] $collaboratorIds IDs of the collaborators to attach + */ public function __invoke( int $id, ?string $title = null, diff --git a/src/Mcp/Tool/TimeEntry/CreateTimeEntryTool.php b/src/Mcp/Tool/TimeEntry/CreateTimeEntryTool.php index 31b5832..5f5a223 100644 --- a/src/Mcp/Tool/TimeEntry/CreateTimeEntryTool.php +++ b/src/Mcp/Tool/TimeEntry/CreateTimeEntryTool.php @@ -33,6 +33,9 @@ class CreateTimeEntryTool private readonly Security $security, ) {} + /** + * @param int[] $tagIds IDs of the tags to attach + */ public function __invoke( int $userId, string $startedAt, diff --git a/src/Mcp/Tool/TimeEntry/UpdateTimeEntryTool.php b/src/Mcp/Tool/TimeEntry/UpdateTimeEntryTool.php index 3222f87..c164fc9 100644 --- a/src/Mcp/Tool/TimeEntry/UpdateTimeEntryTool.php +++ b/src/Mcp/Tool/TimeEntry/UpdateTimeEntryTool.php @@ -30,6 +30,9 @@ class UpdateTimeEntryTool private readonly Security $security, ) {} + /** + * @param int[] $tagIds IDs of the tags to attach + */ public function __invoke( int $id, ?string $title = null,