arcade-mcp/toolkits/clickup_api/arcade_clickup_api/wrapper_tools/EditLegacyTimeEntry.json
jottakka 18d3341e6e
[MOAR] Rename wrong named packages (#659)
Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-28 16:52:31 -03:00

303 lines
10 KiB
JSON

{
"name": "EditLegacyTimeEntry",
"fully_qualified_name": "ClickupApi.EditLegacyTimeEntry@0.1.0",
"description": "Edit a legacy time tracked entry for a task in ClickUp.\n\nUse this tool to modify an existing time entry on a specific task using the legacy endpoint in ClickUp. It's recommended to use newer APIs for time tracking, but this can be used for older integrations.",
"toolkit": {
"name": "ClickupApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "task_identifier",
"required": true,
"description": "The unique identifier of the task for which the legacy time entry is being edited. This is required to specify the task in ClickUp.",
"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": "legacy_time_interval_id",
"required": true,
"description": "The unique identifier for the time interval to be edited.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "interval_id"
},
{
"name": "start_timestamp",
"required": true,
"description": "The start time of the time entry as a Unix timestamp in milliseconds.",
"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_time_epoch",
"required": true,
"description": "The end time of the tracked interval in Unix epoch format. It marks when the time entry should conclude.",
"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_duration_in_seconds",
"required": true,
"description": "The total time duration (in seconds) for the time entry to be updated. This modifies the tracked time for a 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": "The Workspace ID required when custom task IDs are used. This must be set if `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 'Edittimetracked'.",
"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/{interval_id}",
"http_method": "PUT",
"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": "task_identifier",
"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": "interval_id",
"tool_parameter_name": "legacy_time_interval_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_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": "end",
"tool_parameter_name": "end_time_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": "time",
"tool_parameter_name": "time_duration_in_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\": \"Edit the start, end, or total time of a time tracked entry.\",\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"title\": \"Edittimetrackedrequest\",\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
}
}