View as Markdown
TMetric icon

TMetric ACTION

Modify Time Entry

Modify the specified Time Entry. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's TMetric account once, then configure and run Modify Time Entry from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "tmetric-modify-time-entry",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    tmetric: { authProvisionId: "apn_xxxxxxx" },
    accountId: "Account ID",
    timeEntryId: "Time Entry ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Modify Time Entry inputs
Property Type Description
accountId Account ID string
Identifier of the account
Required Dynamic
timeEntryId Time Entry ID string
Identifier of the time entry
Required Dynamic
startTime Start Time string
Start timestamp in ISO format, e.g. 2025-11-26T14:16:00; leave blank to start the timer at the current moment
Optional
endTime End Time string
End timestamp in ISO format, e.g. 2025-11-26T15:16:00; leave blank to keep the timer running indefinitely
Optional
note Note string
Additional note for the time entry
Optional
isBillable Is Billable boolean
Whether the time entry is billable
Optional
isInvoiced Is Invoiced boolean
Whether the time entry has been invoiced
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
tmetric-modify-time-entry
Version
0.0.1
App
TMetric
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes