Skip to main content
Glama

get_assignees

Retrieve assigned team members for a ClickUp task using its ID to manage project responsibilities and workflow coordination.

Instructions

Get assignees of a task

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesTask ID

Implementation Reference

  • The main handler function for the 'get_assignees' tool. It resolves the task ID using _resolve_task_id, fetches the task, extracts the assignees, and returns structured data including task ID, list of assignees with details, and count.
    async def get_assignees(self, task_id: str) -> Dict[str, Any]: """Get task assignees.""" try: task = await self._resolve_task_id(task_id) except ClickUpAPIError as e: return {"error": f"Failed to get assignees for task '{task_id}': {e!s}"} return { "task_id": task.id, "assignees": [ { "id": user.id, "username": user.username, "email": user.email, "initials": user.initials, } for user in task.assignees ], "count": len(task.assignees), }
  • The input schema definition for the 'get_assignees' tool, specifying that it requires a 'task_id' string parameter.
    Tool( name="get_assignees", description="Get assignees of a task", inputSchema={ "type": "object", "properties": { "task_id": {"type": "string", "description": "Task ID"}, }, "required": ["task_id"], }, ),
  • Registration of the 'get_assignees' handler function in the tools dictionary within ClickUpTools class init.
    "get_assignees": self.get_assignees,

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DiversioTeam/clickup-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server