Server definition
- Hash
- sha256:69dc70b242be51f7f057e8c4d2fd7f40b8622af556fe8b7ff8751fbb66bdcfa1
- What it is
- What a remote MCP server returned when asked what it offers: 22 tools
The blob, as servednamed by its sha256
{
"instructions": "Ntime tracks time in the user's own account. Changes made on the phone or the web show up here at once.\n\nWhen starting a timer:\n- Give type: coding (writing code), office (email, admin work), meeting, learning. Leave it out if you do not know; the work item's own type is then used.\n- Set the idle close with idleMinutes: 30 while coding (the default), the length of the meeting for a long meeting, 0 when it should not close. When the time runs out, the timer closes at the moment it was last seen; idle time is not written down.\n\nWhile coding:\n- While you work on code with the user, call ntime_heartbeat every few minutes (project: the git root directory name; if you started a work item with ntime_start, work: that work item). When you work on a sub-item, pin the focus to it with ntime_focus. The signals keep the timer running and are the evidence of coding on the activity card; coding without a signal counts as office work.\n- Call ntime_stop when the work is done. If you forget, the timer closes by itself at the end of idleMinutes.\n\nPast entries:\n- Use ntime_log for finished blocks. These, and the sessions changed with ntime_edit_session, count as half on the activity card, and blocks older than a week do not reach the card. Do not invent entries to fill the card.\n\nSeveral timers can run at once (one per work item, ten at most). When more than one runs, give work for pause/resume/stop.\n\nMind map:\n- When the user wants to map a topic, send Markdown with ntime_mindmap_create: a single \"# Root\", \"##\" headings under it and \"- \" items (indent two spaces). Write short branch names and put the explanation on the plain line under the branch, as a note.\n- The user can edit the map in the app. Small change: ntime_mindmap_edit with the label path (for example \"Product / Pricing page\") or the id; if you know the path, read it first with get. To find a place: ntime_mindmap_get with format outline and find; for a subtree use under/depth. A full outline only when the whole map is needed. A new map or a large rewrite: create/update with Markdown.\n- The \"<!-- ntime:note|rel|float {...} -->\" lines are the user's notes, the dashed arrows between branches and the separate topics on the same canvas; the \"<!-- ntime:key=... -->\" markers on branch lines are the keys the arrows attach to. When you update, keep them as they are. The \"# Heading\" and the items after a \"ntime:float\" line are the tree of that separate topic.",
"tools": [
{
"description": "Use this when you need to add a work item according to the account tree rules. Company projects belong under the company; a client name places a billable project under that client and creates the client if needed. Clientless projects, personal areas, hobbies, and habits are not billable.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"activity": {
"description": "Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type.",
"enum": [
"coding",
"office",
"meeting",
"learning"
],
"type": "string"
},
"client": {
"description": "Client name for a project. Creates the client if needed.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"kind": {
"description": "Defaults to work when a parent exists, otherwise project.",
"enum": [
"company",
"client",
"project",
"work",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"parent": {
"description": "Parent name, path, or ID: a project for a task, or a client for a project.",
"maxLength": 400,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "ntime_add_work",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"billed": {
"type": "boolean"
},
"work": {
"additionalProperties": false,
"properties": {
"activity": {
"type": "string"
},
"billable": {
"type": [
"boolean",
"null"
]
},
"client": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"depth": {
"type": "number"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"parentId": {
"type": [
"string",
"null"
]
},
"path": {
"type": "string"
},
"rate": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"path",
"kind",
"parentId",
"depth",
"rate",
"billable"
],
"type": "object"
}
},
"required": [
"work",
"billed"
],
"type": "object"
}
},
{
"description": "Use this when you need to delete a saved session from the account. Running or invoiced sessions cannot be deleted.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"session": {
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"session"
],
"type": "object"
},
"name": "ntime_delete_session",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"deleted": {
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
}
},
"required": [
"deleted"
],
"type": "object"
}
},
{
"description": "Use this when you need to change a saved session's work item, activity type, start or end time, or note. Pauses merge into one block when times change. Running sessions allow only work, type, and note changes; invoiced sessions cannot be changed.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"endIso": {
"description": "New end time, ISO 8601, for example 2026-10-17T09:00:00+03:00.",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"note": {
"maxLength": 2000,
"type": "string"
},
"session": {
"description": "Session ID returned by a status or report result.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"startIso": {
"description": "New start time, ISO 8601, for example 2026-10-17T09:00:00+03:00.",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"type": {
"description": "Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type.",
"enum": [
"coding",
"office",
"meeting",
"learning"
],
"type": "string"
},
"work": {
"description": "Work name, full path (\"Studio / Ntime\"), or ID; case-insensitive.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"session"
],
"type": "object"
},
"name": "ntime_edit_session",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
}
},
{
"description": "Use this when you need to select or clear the work item that receives coding activity signals for a project. The focus expires after eight hours without a signal.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"project": {
"description": "Git repository root directory name.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"work": {
"anyOf": [
{
"description": "Work name, full path (\"Studio / Ntime\"), or ID; case-insensitive.",
"maxLength": 400,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"description": "Full path or work name; null clears the focus."
}
},
"required": [
"project",
"work"
],
"type": "object"
},
"name": "ntime_focus",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cleared": {
"type": "boolean"
},
"project": {
"type": "string"
},
"work": {
"type": [
"string",
"null"
]
}
},
"required": [
"project",
"work",
"cleared"
],
"type": "object"
}
},
{
"description": "Use this when you need to record a coding activity signal. It starts a coding session for the project or selected work item when none is open, or extends the existing session. With parallel timers disabled, starting a session stops another running timer. An idle session closes at its last signal, and writes are limited to once per project per minute.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"file": {
"description": "File currently being edited, if any.",
"maxLength": 1000,
"type": "string"
},
"idleMinutes": {
"description": "Minutes without a signal before a new session closes. Defaults to 30; zero disables idle closing.",
"maximum": 1440,
"minimum": 0,
"type": "integer"
},
"project": {
"description": "Project name, normally the Git repository root directory.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"type": {
"description": "Activity type for a new session. Defaults to coding.",
"enum": [
"coding",
"office",
"meeting",
"learning"
],
"type": "string"
},
"work": {
"description": "Work item that receives the signal. Defaults to the project-named work item.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"project"
],
"type": "object"
},
"name": "ntime_heartbeat",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"action": {
"type": "string"
},
"coalesced": {
"type": "boolean"
},
"nextWriteAt": {
"type": "string"
},
"project": {
"type": "string"
},
"session": {
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
}
},
"required": [
"project",
"coalesced",
"action",
"nextWriteAt"
],
"type": "object"
}
},
{
"description": "Use this when you need the account's company, project, task, and hobby tree with full paths, types, and hourly rates.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "ntime_list_works",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"works": {
"items": {
"additionalProperties": false,
"properties": {
"activity": {
"type": "string"
},
"billable": {
"type": [
"boolean",
"null"
]
},
"client": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"depth": {
"type": "number"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"parentId": {
"type": [
"string",
"null"
]
},
"path": {
"type": "string"
},
"rate": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"path",
"kind",
"parentId",
"depth",
"rate",
"billable"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"works"
],
"type": "object"
}
},
{
"description": "Use this when you need to add a completed work block to the account as a closed manual session. It counts at half weight on the activity card, and blocks older than one week do not count there.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"endIso": {
"description": "End time, ISO 8601, for example 2026-10-17T09:00:00+03:00.",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"note": {
"maxLength": 2000,
"type": "string"
},
"startIso": {
"description": "Start time, ISO 8601, for example 2026-10-17T09:00:00+03:00.",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"type": {
"description": "Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type.",
"enum": [
"coding",
"office",
"meeting",
"learning"
],
"type": "string"
},
"work": {
"description": "Work name, full path (\"Studio / Ntime\"), or ID; case-insensitive.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"work",
"startIso",
"endIso"
],
"type": "object"
},
"name": "ntime_log",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"overlaps": {
"items": {
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
},
"type": "array"
},
"session": {
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
}
},
"required": [
"session",
"overlaps"
],
"type": "object"
}
},
{
"description": "Use this when you need to create a message in the drafts folder. It does not send the message.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cc": {
"items": {
"maxLength": 254,
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"subject": {
"default": "",
"maxLength": 200,
"type": "string"
},
"text": {
"default": "",
"maxLength": 100000,
"type": "string"
},
"to": {
"default": [],
"items": {
"maxLength": 254,
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"required": [
"to",
"subject",
"text"
],
"type": "object"
},
"name": "ntime_mail_draft",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"folder": {
"type": "string"
},
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"version": {
"type": "number"
}
},
"required": [
"id",
"folder",
"status",
"version"
],
"type": "object"
}
},
{
"description": "Use this when you need to list account mail in a folder as summaries containing sender, subject, and snippet. It does not send mail or return the account API key.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"folder": {
"default": "inbox",
"description": "Folder. Defaults to inbox.",
"enum": [
"inbox",
"starred",
"drafts",
"sent",
"archive",
"trash"
],
"type": "string"
},
"limit": {
"default": 20,
"description": "Maximum 50.",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "Full-text search over subject, sender, recipients, and snippet.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"folder",
"limit"
],
"type": "object"
},
"name": "ntime_mail_list",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"messages": {
"items": {
"additionalProperties": false,
"properties": {
"folder": {
"type": "string"
},
"from": {
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"id": {
"type": "string"
},
"readAt": {
"type": [
"string",
"null"
]
},
"snippet": {
"type": "string"
},
"sortAt": {
"type": "string"
},
"starred": {
"type": "boolean"
},
"status": {
"type": "string"
},
"subject": {
"type": "string"
},
"to": {
"items": {
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"folder",
"from",
"to",
"subject",
"snippet",
"starred",
"readAt",
"status",
"sortAt"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"messages"
],
"type": "object"
}
},
{
"description": "Use this when you need to create a mind map from Markdown for viewing and editing on Ntime's Map screen. Markmap format: one '# Title' is the root; '##' and '###' headings and '- ' list items are branches (indent by two spaces). Non-heading and non-list lines are notes for the preceding branch. '- [ ] task' and '- [x] task' are task boxes. '<!-- markmap: fold -->' at a branch end starts it folded; 'foldAll' also folds descendants. Optional frontmatter: '---\\nmarkmap:\\n layout: tree | two-sided | org-chart\\n foldLevel: 2\\n---'. Bold, italic, links, and code become plain text.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"markdown": {
"description": "Mind map Markdown, up to 30000 characters. Markmap format: one '# Title' is the root; '##' and '###' headings and '- ' list items are branches (indent by two spaces). Non-heading and non-list lines are notes for the preceding branch. '- [ ] task' and '- [x] task' are task boxes. '<!-- markmap: fold -->' at a branch end starts it folded; 'foldAll' also folds descendants. Optional frontmatter: '---\\nmarkmap:\\n layout: tree | two-sided | org-chart\\n foldLevel: 2\\n---'. Bold, italic, links, and code become plain text.",
"maxLength": 30000,
"minLength": 1,
"type": "string"
},
"title": {
"description": "Mind map title.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"work": {
"description": "Optional work item name, path, or ID associated with the map.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"title",
"markdown"
],
"type": "object"
},
"name": "ntime_mindmap_create",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"map": {
"additionalProperties": false,
"properties": {
"branches": {
"type": "number"
},
"id": {
"type": "string"
},
"layout": {
"type": "string"
},
"source": {
"type": "string"
},
"title": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"updatedAt": {
"type": "string"
},
"work": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"title",
"branches",
"layout",
"source",
"updatedAt"
],
"type": "object"
},
"shown": {
"type": "string"
}
},
"required": [
"map",
"shown"
],
"type": "object"
}
},
{
"description": "Use this when you need to apply up to 50 atomic mind map operations, all or none. Branches are identified by ID or label path. When supplied, version must match the map's current update time. Outline format: \"v <updatedAt>\"; root `\"\" # Title`; branches \"0.1 - [ ] text\". Branches are addressed by ID or a label path such as \"Product / Pricing page\". Search returns up to 20 IDs and paths. The under and depth fields select a subtree.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"map": {
"description": "Mind map ID or case-insensitive title.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"ops": {
"description": "Operations applied in order.",
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"expect": {
"description": "Current branch label. A mismatch rejects the entire operation.",
"type": "string"
},
"node": {
"description": "Branch ID from an outline; use \"\" for the root.",
"type": "string"
},
"op": {
"const": "rename",
"type": "string"
},
"path": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
},
"text": {
"minLength": 1,
"type": "string"
}
},
"required": [
"op",
"text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"expect": {
"description": "Current branch label. A mismatch rejects the entire operation.",
"type": "string"
},
"index": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"note": {
"type": "string"
},
"op": {
"const": "add",
"type": "string"
},
"parent": {
"description": "Branch ID from an outline; use \"\" for the root.",
"type": "string"
},
"path": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
},
"text": {
"minLength": 1,
"type": "string"
}
},
"required": [
"op",
"text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"expect": {
"description": "Current branch label. A mismatch rejects the entire operation.",
"type": "string"
},
"node": {
"description": "Branch ID from an outline; use \"\" for the root.",
"type": "string"
},
"op": {
"const": "remove",
"type": "string"
},
"path": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
}
},
"required": [
"op"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"expect": {
"description": "Current branch label. A mismatch rejects the entire operation.",
"type": "string"
},
"index": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"node": {
"description": "Branch ID from an outline; use \"\" for the root.",
"type": "string"
},
"op": {
"const": "move",
"type": "string"
},
"parent": {
"description": "Branch ID from an outline; use \"\" for the root.",
"type": "string"
},
"parentPath": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
},
"path": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
}
},
"required": [
"op",
"index"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"done": {
"type": [
"boolean",
"null"
]
},
"expect": {
"description": "Current branch label. A mismatch rejects the entire operation.",
"type": "string"
},
"node": {
"description": "Branch ID from an outline; use \"\" for the root.",
"type": "string"
},
"op": {
"const": "check",
"type": "string"
},
"path": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
}
},
"required": [
"op",
"done"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"expect": {
"description": "Current branch label. A mismatch rejects the entire operation.",
"type": "string"
},
"node": {
"description": "Branch ID from an outline; use \"\" for the root.",
"type": "string"
},
"op": {
"const": "note",
"type": "string"
},
"path": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"op",
"text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"expect": {
"description": "Current branch label. A mismatch rejects the entire operation.",
"type": "string"
},
"folded": {
"type": "boolean"
},
"node": {
"description": "Branch ID from an outline; use \"\" for the root.",
"type": "string"
},
"op": {
"const": "fold",
"type": "string"
},
"path": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
}
},
"required": [
"op",
"folded"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"op": {
"const": "topic",
"type": "string"
},
"text": {
"minLength": 1,
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"op",
"text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"op": {
"const": "topic_remove",
"type": "string"
},
"topic": {
"minLength": 1,
"type": "string"
}
},
"required": [
"op",
"topic"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"from": {
"minLength": 1,
"type": "string"
},
"fromPath": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
},
"op": {
"const": "link",
"type": "string"
},
"to": {
"minLength": 1,
"type": "string"
},
"toPath": {
"description": "Label path below the root, such as \"Product / Pricing page\".",
"minLength": 1,
"type": "string"
}
},
"required": [
"op"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"id": {
"minLength": 1,
"type": "string"
},
"op": {
"const": "unlink",
"type": "string"
}
},
"required": [
"op",
"id"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"color": {
"enum": [
"yellow",
"pink",
"blue",
"green",
"orange",
"violet"
],
"type": "string"
},
"op": {
"const": "sticky",
"type": "string"
},
"text": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"op",
"text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"color": {
"enum": [
"yellow",
"pink",
"blue",
"green",
"orange",
"violet"
],
"type": "string"
},
"id": {
"minLength": 1,
"type": "string"
},
"op": {
"const": "sticky_edit",
"type": "string"
},
"text": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"op",
"id"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"id": {
"minLength": 1,
"type": "string"
},
"op": {
"const": "sticky_remove",
"type": "string"
}
},
"required": [
"op",
"id"
],
"type": "object"
}
]
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
"version": {
"description": "Version from the outline's v line. Omit to edit the latest text.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"map",
"ops"
],
"type": "object"
},
"name": "ntime_mindmap_edit",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"changed": {
"type": "boolean"
},
"map": {
"additionalProperties": false,
"properties": {
"branches": {
"type": "number"
},
"id": {
"type": "string"
},
"layout": {
"type": "string"
},
"source": {
"type": "string"
},
"title": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"updatedAt": {
"type": "string"
},
"work": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"title",
"branches",
"layout",
"source",
"updatedAt"
],
"type": "object"
},
"outline": {
"items": {
"type": "string"
},
"type": "array"
},
"version": {
"type": "number"
}
},
"required": [
"map",
"version",
"outline",
"changed"
],
"type": "object"
}
},
{
"description": "Use this when you need a mind map as complete Markdown or as concise outline lines with IDs. Outline mode supports a subtree, depth limit, or label search with up to 20 ID and path results. Outline format: \"v <updatedAt>\"; root `\"\" # Title`; branches \"0.1 - [ ] text\". Branches are addressed by ID or a label path such as \"Product / Pricing page\". Search returns up to 20 IDs and paths. The under and depth fields select a subtree.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"depth": {
"description": "Number of levels to show below the selected branch or root.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"find": {
"description": "Label substring. Returns matching branch IDs and paths, up to 20.",
"minLength": 1,
"type": "string"
},
"format": {
"description": "Defaults to \"markdown\". Use \"outline\" for branch IDs.",
"enum": [
"markdown",
"outline"
],
"type": "string"
},
"map": {
"description": "Mind map ID or case-insensitive title.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"under": {
"description": "Return only this branch subtree, identified by ID or label path.",
"minLength": 1,
"type": "string"
}
},
"required": [
"map"
],
"type": "object"
},
"name": "ntime_mindmap_get",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"find": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"id",
"path"
],
"type": "object"
},
"type": "array"
},
"map": {
"additionalProperties": false,
"properties": {
"branches": {
"type": "number"
},
"id": {
"type": "string"
},
"layout": {
"type": "string"
},
"source": {
"type": "string"
},
"title": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"updatedAt": {
"type": "string"
},
"work": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"title",
"branches",
"layout",
"source",
"updatedAt"
],
"type": "object"
},
"markdown": {
"type": "string"
},
"outline": {
"type": "string"
},
"version": {
"type": "number"
}
},
"required": [
"map"
],
"type": "object"
}
},
{
"description": "Use this when you need to list the account's mind maps from newest to oldest with ID, title, author, size, and last modification time.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "ntime_mindmap_list",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"limit": {
"type": "number"
},
"maps": {
"items": {
"additionalProperties": false,
"properties": {
"chars": {
"type": "number"
},
"id": {
"type": "string"
},
"source": {
"type": "string"
},
"title": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"title",
"source",
"chars",
"updatedAt"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"maps",
"limit"
],
"type": "object"
}
},
{
"description": "Use this when you need to replace a mind map's complete Markdown, title, or both. The supplied Markdown overwrites the current map text.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"map": {
"description": "Mind map ID or case-insensitive title.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"markdown": {
"description": "Mind map Markdown, up to 30000 characters. Markmap format: one '# Title' is the root; '##' and '###' headings and '- ' list items are branches (indent by two spaces). Non-heading and non-list lines are notes for the preceding branch. '- [ ] task' and '- [x] task' are task boxes. '<!-- markmap: fold -->' at a branch end starts it folded; 'foldAll' also folds descendants. Optional frontmatter: '---\\nmarkmap:\\n layout: tree | two-sided | org-chart\\n foldLevel: 2\\n---'. Bold, italic, links, and code become plain text.",
"maxLength": 30000,
"minLength": 1,
"type": "string"
},
"title": {
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"map"
],
"type": "object"
},
"name": "ntime_mindmap_update",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"changed": {
"type": "boolean"
},
"map": {
"additionalProperties": false,
"properties": {
"branches": {
"type": "number"
},
"id": {
"type": "string"
},
"layout": {
"type": "string"
},
"source": {
"type": "string"
},
"title": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"updatedAt": {
"type": "string"
},
"work": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"title",
"branches",
"layout",
"source",
"updatedAt"
],
"type": "object"
}
},
"required": [
"map",
"changed"
],
"type": "object"
}
},
{
"description": "Use this when you need to pause a running work timer. The work item is optional when only one timer is active.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"work": {
"description": "Work timer to change. Optional when only one timer is active.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "ntime_pause",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
}
},
{
"description": "Use this when you need account time, billable amounts, and a breakdown by work item for today, this week, or this month across all devices.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"period": {
"enum": [
"today",
"week",
"month"
],
"type": "string"
},
"work": {
"description": "Work name, full path (\"Studio / Ntime\"), or ID; case-insensitive.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"period"
],
"type": "object"
},
"name": "ntime_report",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"amounts": {
"additionalProperties": {
"type": "number"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"amountsFormatted": {
"items": {
"type": "string"
},
"type": "array"
},
"billableMs": {
"type": "number"
},
"byWork": {
"items": {
"additionalProperties": false,
"properties": {
"duration": {
"type": "string"
},
"durationMs": {
"type": "number"
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"workId",
"work",
"durationMs",
"duration"
],
"type": "object"
},
"type": "array"
},
"duration": {
"type": "string"
},
"durationMs": {
"type": "number"
},
"from": {
"type": "string"
},
"historyClamped": {
"type": "boolean"
},
"historyDays": {
"type": [
"number",
"null"
]
},
"message": {
"type": "string"
},
"period": {
"enum": [
"today",
"week",
"month"
],
"type": "string"
},
"requestedFrom": {
"type": "string"
},
"sessionCount": {
"type": "number"
},
"sessions": {
"items": {
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
},
"type": "array"
},
"to": {
"type": "string"
},
"work": {
"type": [
"string",
"null"
]
}
},
"required": [
"period",
"from",
"to",
"historyDays",
"historyClamped",
"requestedFrom",
"work",
"durationMs",
"duration",
"billableMs",
"amounts",
"amountsFormatted",
"sessionCount",
"byWork",
"sessions"
],
"type": "object"
}
},
{
"description": "Use this when you need to resume a paused work timer. The work item is optional when only one timer exists. With parallel timers disabled, it stops another running timer.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"work": {
"description": "Work timer to change. Optional when only one timer is active.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "ntime_resume",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
}
},
{
"description": "Use this when you need to set the account type. A company account uses the supplied company as the tree root and invoice sender; a personal account has no company root. Existing work items are not moved.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"company": {
"description": "Company name, required for a company account.",
"maxLength": 200,
"type": "string"
},
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"type": {
"enum": [
"personal",
"company"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"name": "ntime_set_account",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"company": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"activity": {
"type": "string"
},
"billable": {
"type": [
"boolean",
"null"
]
},
"client": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"depth": {
"type": "number"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"parentId": {
"type": [
"string",
"null"
]
},
"path": {
"type": "string"
},
"rate": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"path",
"kind",
"parentId",
"depth",
"rate",
"billable"
],
"type": "object"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"personal",
"company"
],
"type": "string"
}
},
"required": [
"type",
"company"
],
"type": "object"
}
},
{
"description": "Use this when you need to start an account timer for a work item, visible immediately on the phone and web. When parallel timers are disabled, it stops another running timer; otherwise up to ten work timers may run. It returns an error if that work already has a running timer.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"idleMinutes": {
"description": "Minutes without app activity or an agent signal before the timer closes at its last activity. Zero disables idle closing. Defaults to 30 for coding and disabled for other activities.",
"maximum": 1440,
"minimum": 0,
"type": "integer"
},
"mode": {
"description": "Timer mode: \"Pomodoro 25/5\", \"Flowtime\", \"52/17\", a custom timer, or a minute count (\"25\" means countdown). Omit for a stopwatch.",
"maxLength": 60,
"type": "string"
},
"type": {
"description": "Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type.",
"enum": [
"coding",
"office",
"meeting",
"learning"
],
"type": "string"
},
"work": {
"description": "Work name, full path (\"Studio / Ntime\"), or ID; case-insensitive.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"work"
],
"type": "object"
},
"name": "ntime_start",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
}
},
{
"description": "Use this when you need the account's timers with each work path, state, elapsed time, and mode, plus the work count. It includes timers started on the phone or web. The active timer is the one started most recently.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "ntime_status",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"active": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
},
{
"type": "null"
}
]
},
"running": {
"items": {
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
},
"type": "array"
},
"workCount": {
"type": "number"
}
},
"required": [
"active",
"running",
"workCount"
],
"type": "object"
}
},
{
"description": "Use this when you need to stop a work timer and close its session. The work item is optional when only one timer is active.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"note": {
"description": "Optional session note.",
"maxLength": 2000,
"type": "string"
},
"work": {
"description": "Work timer to change. Optional when only one timer is active.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "ntime_stop",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"activity": {
"enum": [
"coding",
"office",
"meeting",
"learning",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"elapsed": {
"type": "string"
},
"elapsedMs": {
"type": "number"
},
"id": {
"type": "string"
},
"idleMinutes": {
"type": [
"number",
"null"
]
},
"lastSeenAt": {
"type": "string"
},
"mode": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"state": {
"enum": [
"running",
"paused",
"break",
"stopped"
],
"type": "string"
},
"stoppedAt": {
"type": [
"string",
"null"
]
},
"work": {
"type": "string"
},
"workId": {
"type": "string"
}
},
"required": [
"id",
"workId",
"work",
"state",
"startedAt",
"stoppedAt",
"elapsedMs",
"elapsed",
"mode",
"activity",
"idleMinutes",
"lastSeenAt",
"note",
"source"
],
"type": "object"
}
},
{
"description": "Use this when you need to update only the supplied fields of a work item: name, kind, activity, parent, hourly rate, currency, billable status, note, or client invoice details.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"activity": {
"description": "Activity type: coding, office, meeting, or learning. Use \"inherit\" to inherit from the parent.",
"enum": [
"inherit",
"coding",
"office",
"meeting",
"learning"
],
"type": "string"
},
"address": {
"description": "Client billing address.",
"maxLength": 2000,
"type": "string"
},
"billable": {
"type": "boolean"
},
"contact": {
"description": "Client contact person.",
"maxLength": 2000,
"type": "string"
},
"country": {
"description": "Client country as a two-letter ISO code, such as NL or DE.",
"maxLength": 2,
"type": "string"
},
"currency": {
"enum": [
"EUR",
"USD",
"TRY",
"GBP"
],
"type": "string"
},
"email": {
"description": "Client billing email.",
"maxLength": 2000,
"type": "string"
},
"idempotencyKey": {
"description": "On a retry, the same key returns the first result without repeating the operation.",
"maxLength": 100,
"minLength": 8,
"type": "string"
},
"kind": {
"enum": [
"company",
"client",
"project",
"work",
"personal",
"hobby",
"habit"
],
"type": "string"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"note": {
"maxLength": 2000,
"type": "string"
},
"parent": {
"description": "New parent work item. Use \"\" to move to the top level.",
"maxLength": 400,
"type": "string"
},
"rate": {
"description": "Hourly rate, such as \"85\" or \"85.50\". Use \"\" to clear it.",
"maxLength": 30,
"type": "string"
},
"taxId": {
"description": "Client tax or registration number.",
"maxLength": 2000,
"type": "string"
},
"work": {
"description": "Work name, full path (\"Studio / Ntime\"), or ID; case-insensitive.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"work"
],
"type": "object"
},
"name": "ntime_update_work",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"billed": {
"type": "boolean"
},
"work": {
"additionalProperties": false,
"properties": {
"activity": {
"type": "string"
},
"billable": {
"type": [
"boolean",
"null"
]
},
"client": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"depth": {
"type": "number"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"parentId": {
"type": [
"string",
"null"
]
},
"path": {
"type": "string"
},
"rate": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"path",
"kind",
"parentId",
"depth",
"rate",
"billable"
],
"type": "object"
}
},
"required": [
"work",
"billed"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:69dc70b242be51f7f057e8c4d2fd7f40b8622af556fe8b7ff8751fbb66bdcfa1 | sha256sum