Harvest update time entry

harvest__update_time_entry

Access

Requires a project integration connection for harvest.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
account_idstringYesHarvest Account ID (get it from harvest__list_accounts)
timeEntryIdnumberYesHarvest time entry ID
project_idnumberNoUpdated project ID
task_idnumberNoUpdated task ID
spent_datestringNoUpdated date (YYYY-MM-DD)
hoursnumberNoUpdated hours
started_timestringNoUpdated start time (hh:mmam/pm)
ended_timestringNoUpdated end time (hh:mmam/pm)
notesstringNoUpdated notes
is_lockedbooleanNoLock/unlock the time entry

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "harvest__update_time_entry",
    "arguments": {
      "account_id": "example",
      "timeEntryId": 0
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the harvest integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "description": "Harvest Account ID (get it from harvest__list_accounts)"
    },
    "timeEntryId": {
      "type": "number",
      "description": "Harvest time entry ID"
    },
    "project_id": {
      "type": "number",
      "description": "Updated project ID"
    },
    "task_id": {
      "type": "number",
      "description": "Updated task ID"
    },
    "spent_date": {
      "type": "string",
      "description": "Updated date (YYYY-MM-DD)"
    },
    "hours": {
      "type": "number",
      "description": "Updated hours"
    },
    "started_time": {
      "type": "string",
      "description": "Updated start time (hh:mmam/pm)"
    },
    "ended_time": {
      "type": "string",
      "description": "Updated end time (hh:mmam/pm)"
    },
    "notes": {
      "type": "string",
      "description": "Updated notes"
    },
    "is_locked": {
      "type": "boolean",
      "description": "Lock/unlock the time entry"
    }
  },
  "required": [
    "account_id",
    "timeEntryId"
  ],
  "description": "Arguments for the harvest__update_time_entry tool."
}