update_time_log

Updates a time log by entryId. Wraps the updateTimeLog RPC.

Use with an AI agent

Export this page as Markdown or bundle it with a task for your agent.

Try a task
Preview the prompt that will be copied

Access

  • Effect: Changes data
  • Required scope: write (the mcp scope also grants it)

Example request

The JSON-RPC message an MCP client sends to call this tool. Your client builds it for you; this is for reference and debugging in a tool such as MCP Inspector.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_time_log",
    "arguments": {
      "input": {}
    }
  }
}

Example IDs refer to fictional demo data. Replace them with IDs from your account before calling the real server.

Description

Updates a time log by entryId. Wraps the updateTimeLog RPC.

Get entryId from list_time_logs.
If entryId is unknown, pass entryNotesHint or useLatestEntry to resolve it automatically.
Only include the fields you want to change in input.

Input parameters

NameTypeRequiredDescription
entryIdstringNo
entryNotesHintstringNo
inputobjectYes
useLatestEntrybooleanNo
Full input schema (JSON Schema)
json
{
  "additionalProperties": false,
  "properties": {
    "entryId": {
      "type": "string"
    },
    "entryNotesHint": {
      "type": [
        "null",
        "string"
      ]
    },
    "input": {
      "additionalProperties": false,
      "properties": {
        "addressId": {
          "type": [
            "null",
            "string"
          ]
        },
        "billable": {
          "type": [
            "null",
            "boolean"
          ]
        },
        "breaks": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "end": {
                "type": "string"
              },
              "start": {
                "type": "string"
              }
            },
            "required": [
              "start",
              "end"
            ],
            "type": "object"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "currency": {
          "type": [
            "null",
            "string"
          ]
        },
        "endTime": {
          "type": [
            "null",
            "string"
          ]
        },
        "hourlyRate": {
          "type": [
            "null",
            "number"
          ]
        },
        "invoiceId": {
          "type": [
            "null",
            "string"
          ]
        },
        "invoicePayed": {
          "type": [
            "null",
            "boolean"
          ]
        },
        "latitude": {
          "type": [
            "null",
            "number"
          ]
        },
        "longitude": {
          "type": [
            "null",
            "number"
          ]
        },
        "notes": {
          "type": [
            "null",
            "string"
          ]
        },
        "startTime": {
          "type": [
            "null",
            "string"
          ]
        },
        "status": {
          "type": [
            "null",
            "string"
          ]
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "taskId": {
          "type": [
            "null",
            "string"
          ]
        },
        "timeZone": {
          "type": [
            "null",
            "string"
          ]
        }
      },
      "type": "object"
    },
    "useLatestEntry": {
      "type": [
        "null",
        "boolean"
      ]
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}