{ "name": "ClickupLegacyTimeTracking", "fully_qualified_name": "ClickupApi.ClickupLegacyTimeTracking@0.1.0", "description": "Log time entry for a ClickUp task using legacy endpoint.\n\nThis tool allows logging time entries for a specific ClickUp task using a legacy API endpoint. It should be called when you need to record time spent on tasks, although it's recommended to use the updated Time Tracking API for new implementations.", "toolkit": { "name": "ClickupApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "clickup_task_id", "required": true, "description": "The unique identifier of the task for which time is being logged. This can refer to either the standard task ID or a custom task ID if specified.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "task_id" }, { "name": "start_time_unix_epoch", "required": true, "description": "The start time of the time entry in Unix epoch format. This is required to log time for a task.", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "start" }, { "name": "end_timestamp", "required": true, "description": "Epoch timestamp indicating when the time tracking ended for the task.", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "end" }, { "name": "time_spent_seconds", "required": true, "description": "Duration of time spent on the task in seconds. This is the time you want to log for the specific task.", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "time" }, { "name": "workspace_id", "required": false, "description": "Provide the Workspace ID when `custom_task_ids` is `true`.", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "When the `custom_task_ids` parameter is set to `true`, the Workspace ID must be provided using the `team_id` parameter.\n \\\nFor example: `custom_task_ids=true&team_id=123`." }, "inferrable": true, "http_endpoint_parameter_name": "team_id" }, { "name": "use_custom_task_ids", "required": false, "description": "Set to true to reference a task by its custom task ID.", "value_schema": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "If you want to reference a task by it's custom task id, this value must be `true`." }, "inferrable": true, "http_endpoint_parameter_name": "custom_task_ids" } ] }, "output": { "description": "Response from the API endpoint 'Tracktime'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": { "provider_id": "arcade-clickup", "provider_type": "oauth2", "id": null, "oauth2": null }, "secrets": null, "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.1.0", "description": "Tools that enable LLMs to interact directly with the clickup API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.2.0", "description": "" }, "url": "https://api.clickup.com/api/v2/task/{task_id}/time", "http_method": "POST", "headers": {}, "parameters": [ { "name": "custom_task_ids", "tool_parameter_name": "use_custom_task_ids", "description": "If you want to reference a task by it's custom task id, this value must be `true`.", "value_schema": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "If you want to reference a task by it's custom task id, this value must be `true`." }, "accepted_as": "query", "required": false, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "team_id", "tool_parameter_name": "workspace_id", "description": "When the `custom_task_ids` parameter is set to `true`, the Workspace ID must be provided using the `team_id` parameter.\n \\\nFor example: `custom_task_ids=true&team_id=123`.", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "When the `custom_task_ids` parameter is set to `true`, the Workspace ID must be provided using the `team_id` parameter.\n \\\nFor example: `custom_task_ids=true&team_id=123`." }, "accepted_as": "query", "required": false, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "task_id", "tool_parameter_name": "clickup_task_id", "description": "", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "start", "tool_parameter_name": "start_time_unix_epoch", "description": "", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "body", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "end", "tool_parameter_name": "end_timestamp", "description": "", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "body", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "time", "tool_parameter_name": "time_spent_seconds", "description": "", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "body", "required": true, "deprecated": false, "default": null, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "auth_token", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "The OAuth token to use for authentication.", "is_auth_token": true } ], "request_body_spec": "{\n \"description\": \"Include the total time or the start time and end time.\\\\\\n \\\\\\nThe total time is in milliseconds and `\\\"start\\\"` and `\\\"end\\\"` values are Unix time in milliseconds.\",\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"title\": \"Tracktimerequest\",\n \"required\": [\n \"start\",\n \"end\",\n \"time\"\n ],\n \"type\": \"object\",\n \"properties\": {\n \"start\": {\n \"type\": \"integer\",\n \"contentEncoding\": \"int64\"\n },\n \"end\": {\n \"type\": \"integer\",\n \"contentEncoding\": \"int64\"\n },\n \"time\": {\n \"type\": \"integer\",\n \"contentEncoding\": \"int32\"\n }\n },\n \"examples\": [\n {\n \"start\": 1567780450202,\n \"end\": 1508369194377,\n \"time\": 8640000\n }\n ]\n },\n \"example\": {\n \"start\": 1567780450202,\n \"end\": 1508369194377,\n \"time\": 8640000\n }\n }\n },\n \"required\": true\n}", "use_request_body_schema_mode": false, "validate_request_body_schema": false } }