Server definition
- Hash
- sha256:9bd513d5cdd0d9db72977615c0442d47c6058b78495309fae7eb1f7c519a3cb0
- What it is
- What a remote MCP server returned when asked what it offers: 50 tools
The blob, as servednamed by its sha256
{
"instructions": "Joist MCP server by Cotlet: connects Joist to Claude Code, ChatGPT and any AI agent. Cotlet works in the user's own Joist account through their Cloud Browser, a real Chrome hosted by Cotlet where the user signed in to Joist themselves; Cotlet does not store their password. The joist_* tools each return the Joist steps for one action (screens, buttons, fields) and open nothing: call one, then do the steps with the cotlet_browser_* tools. Each Joist operation is its own tool and does a job in one call: prefer them. Writes that reach other people wait for the user's approval in the Cotlet console and answer with status pending and a call_id, which cotlet_get_call reports on. Several Joist accounts: pass `browser` with a name cotlet_apps lists. For what the operations do not cover, the cotlet_browser_* tools work in the same Joist browser: call cotlet_app_guide first (free) for its screens. Call the browser tools one at a time, never in parallel: wait for each answer. Open the page with cotlet_browser_open, then cotlet_browser_read it once for its text and numbered elements. Act on those numbers with click, type, select and press, or fill_form for several fields at once; each action answers the page after it (the elements and text in view, same numbers), so read again only to see the whole page. cotlet_browser_find finds one thing on a long page; scroll loads lists that grow as you scroll; screenshot shows boards and canvases (click or drag them by x, y); download gets a file; evaluate extracts data with a script. Public pages open without signing in. On a sign-in page, a 2FA prompt or a check a step says needs the person, stop and give the user one link only, the sign-in link from cotlet_app_guide (it opens their Cloud Browser right on that page), ask them to reply \"done\" once signed in, then go on with the task: never ask for a password and never type one. Ask the user before a step that sends, publishes, deletes or pays. Each answer names its Tab: send that id as `tab` with the next steps, so a step never acts on another tab the user or another client showed meanwhile (it does nothing and answers tab_changed: read the shown tab or switch back). Close the browser with cotlet_browser_close when done: each started minute of a session uses credits. After each finished task, never in the middle of one, give the result, then offer 2 or 3 next things to do in the app, from the guide's \"What to offer next\": another read first, then a small change you make only after the user says yes, and an automation when a job repeats. If you cannot finish the task in the browser (an element you cannot find, a page that will not work, a flow you do not understand) or a step keeps failing, call cotlet_report_issue with what the user asked, the page, the step and what you saw. cotlet_whoami names the account and its credits, cotlet_apps whether the app is ready. The account and credits: https://cotlet.dev/app.",
"tools": [
{
"description": "New client in your Clients list, ready for estimates and invoices. Creates a client card in Joist with name and optional email, phone, billing address and notes. It reaches no one. Joist does not refuse a duplicate name, so check list_clients first.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"address": {
"additionalProperties": false,
"description": "Billing address.",
"properties": {
"city": {
"maxLength": 100,
"type": "string"
},
"state": {
"maxLength": 100,
"type": "string"
},
"street": {
"maxLength": 255,
"type": "string"
},
"suite": {
"maxLength": 100,
"type": "string"
},
"zip": {
"maxLength": 20,
"type": "string"
}
},
"type": "object"
},
"email": {
"description": "Where documents are emailed.",
"format": "email",
"type": "string"
},
"name": {
"description": "Client or company name.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"notes": {
"description": "Notes on the client card.",
"maxLength": 5000,
"type": "string"
},
"phone": {
"maxLength": 30,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "add_client",
"outputSchema": null
},
{
"description": "Save a service or material to your Items list. Saves an item with a name, rate and optional description to your Items list, so later estimates reuse it. It reaches no one.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Shown on the line item.",
"maxLength": 5000,
"type": "string"
},
"name": {
"description": "Item name.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"rate": {
"description": "Price per unit, e.g. 350.",
"minimum": 0,
"type": "number"
}
},
"required": [
"name",
"rate"
],
"type": "object"
},
"name": "add_item",
"outputSchema": null
},
{
"description": "Generate an invoice with everything from the estimate. Nothing is sent to the client. Does what Generate Invoice does in Joist: a new invoice with the estimate's client, lines, tax, discount and deposit, and the estimate becomes approved. Joist allows more than one invoice from an estimate, so an estimate already invoiced is refused here. Nothing is sent until send_invoice.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"estimate_id": {
"description": "From list_estimates.",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"estimate_id"
],
"type": "object"
},
"name": "convert_estimate_to_invoice",
"outputSchema": null
},
{
"description": "How to work in an app by clicking in the user's Cloud Browser with Cotlet's browser tools: which browser to use for this workspace and the sign-in link, the method step by step, the app's screens, menus and actions, notes, and the app's dedicated tools when Cotlet has them. Call it before the first browser step in an app. Works for any web app; one outside Cotlet's catalog gets the general method. Free, no browser session. For Joist it covers these actions: Create estimate, Convert estimate to invoice, List invoices, Add client, Record payment.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's name or Cotlet slug. Default: Joist.",
"maxLength": 120,
"type": "string"
},
"task": {
"description": "What the user wants done in the app, in their words.",
"maxLength": 500,
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_app_guide",
"outputSchema": null
},
{
"description": "The apps of the user's workspace and whether each works now: the app account in the user's Cloud Browser (connected, signed out, signed in but not connected), and the one step the user has to take, with the console link. Free. Needs the user's Cotlet API key or sign-in.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "Only this app, e.g. skool.",
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_apps",
"outputSchema": null
},
{
"description": "Clicks element `element`, or point `x`, `y` of the screenshot; `double` double-clicks, `button: right` right-clicks. Answers the page after it: the elements and text in view, with the same numbers. Says when nothing changed. A link that would open a new tab opens in this one. Buttons that pay or buy, and sign-in and account pages, are refused.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"button": {
"description": "right opens the page's own context menu. Default: left.",
"enum": [
"left",
"right"
],
"type": "string"
},
"dialog": {
"description": "How to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.",
"enum": [
"accept",
"dismiss"
],
"type": "string"
},
"dialog_text": {
"description": "Text for a prompt dialog this step opens; implies accept.",
"maxLength": 1000,
"type": "string"
},
"double": {
"description": "Double-click.",
"type": "boolean"
},
"element": {
"description": "The element's number from the last read or step answer.",
"minimum": 1,
"type": "integer"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"x": {
"description": "Instead of `element`: pixels from the left of the screenshot.",
"minimum": 0,
"type": "number"
},
"y": {
"description": "With `x`: pixels from the top of the screenshot.",
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"name": "cotlet_browser_click",
"outputSchema": null
},
{
"description": "Ends the browser session when the task is done: the browser keeps its cookies and sleeps, and the per-minute charge stops. Answers the session's minutes and credits.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "cotlet_browser_close",
"outputSchema": null
},
{
"description": "Gets the file that clicking `element` (a download link or button) or opening `url` starts, also an image or PDF it only opens: answers its name, type, size and a link valid 15 minutes; CSV, JSON and other text files also as text.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"element": {
"description": "The element's number from the last read or step answer.",
"minimum": 1,
"type": "integer"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"url": {
"description": "A public http or https address, e.g. https://example.com.",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_browser_download",
"outputSchema": null
},
{
"description": "Drags from one element or point to another: a card between columns, a piece on a board, a slider's handle. Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"dialog": {
"description": "How to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.",
"enum": [
"accept",
"dismiss"
],
"type": "string"
},
"dialog_text": {
"description": "Text for a prompt dialog this step opens; implies accept.",
"maxLength": 1000,
"type": "string"
},
"from": {
"additionalProperties": false,
"description": "An element number, or x and y of the screenshot.",
"properties": {
"element": {
"description": "The element's number from the last read or step answer.",
"minimum": 1,
"type": "integer"
},
"x": {
"description": "Instead of `element`: pixels from the left of the screenshot.",
"minimum": 0,
"type": "number"
},
"y": {
"description": "With `x`: pixels from the top of the screenshot.",
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"to": {
"additionalProperties": false,
"description": "An element number, or x and y of the screenshot.",
"properties": {
"element": {
"description": "The element's number from the last read or step answer.",
"minimum": 1,
"type": "integer"
},
"x": {
"description": "Instead of `element`: pixels from the left of the screenshot.",
"minimum": 0,
"type": "number"
},
"y": {
"description": "With `x`: pixels from the top of the screenshot.",
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"required": [
"from",
"to"
],
"type": "object"
},
"name": "cotlet_browser_drag",
"outputSchema": null
},
{
"description": "Runs a JavaScript function body on the page and answers what it returns, as JSON. Use it to extract data the page holds (a table, a list, attributes); act with the other tools. It cannot send requests, click, submit, or read cookies or storage; a filled field's value reads [hidden by Cotlet]. Example: return [...document.querySelectorAll('h2')].map(h => h.innerText)",
"inputSchema": {
"additionalProperties": false,
"properties": {
"script": {
"description": "A function body that returns.",
"maxLength": 20000,
"type": "string"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"script"
],
"type": "object"
},
"name": "cotlet_browser_evaluate",
"outputSchema": null
},
{
"description": "Fills several fields in one step: text fields take text, drop-downs an option's label, checkboxes, radios and switches true or false. Stops at the first field that fails and names those filled. Does not send the form: click its button after. Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"dialog": {
"description": "How to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.",
"enum": [
"accept",
"dismiss"
],
"type": "string"
},
"dialog_text": {
"description": "Text for a prompt dialog this step opens; implies accept.",
"maxLength": 1000,
"type": "string"
},
"fields": {
"description": "The fields in the order a person fills them.",
"items": {
"additionalProperties": false,
"properties": {
"element": {
"description": "The element's number from the last read or step answer.",
"minimum": 1,
"type": "integer"
},
"value": {
"description": "Text, option, or true/false.",
"type": [
"string",
"boolean"
]
}
},
"required": [
"element",
"value"
],
"type": "object"
},
"maxItems": 30,
"minItems": 1,
"type": "array"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"fields"
],
"type": "object"
},
"name": "cotlet_browser_fill_form",
"outputSchema": null
},
{
"description": "Finds `text` on the whole current page, frames included: the elements whose label holds it, with their numbers, and each line of text that holds it. Use it instead of reading or scrolling a long page for one thing.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"kind": {
"description": "Only elements of this kind. Default: any.",
"enum": [
"link",
"button",
"field",
"any"
],
"type": "string"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"text": {
"description": "Words to look for, any case.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "cotlet_browser_find",
"outputSchema": null
},
{
"description": "Rests the pointer on an element or a point, to open a hover menu, a tooltip or a preview. Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"element": {
"description": "The element's number from the last read or step answer.",
"minimum": 1,
"type": "integer"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"x": {
"description": "Instead of `element`: pixels from the left of the screenshot.",
"minimum": 0,
"type": "number"
},
"y": {
"description": "With `x`: pixels from the top of the screenshot.",
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"name": "cotlet_browser_hover",
"outputSchema": null
},
{
"description": "Opens `url` in the current tab, or goes `history` back or forward. Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"dialog": {
"description": "How to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.",
"enum": [
"accept",
"dismiss"
],
"type": "string"
},
"dialog_text": {
"description": "Text for a prompt dialog this step opens; implies accept.",
"maxLength": 1000,
"type": "string"
},
"history": {
"description": "Instead of `url`.",
"enum": [
"back",
"forward"
],
"type": "string"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"url": {
"description": "A public http or https address, e.g. https://example.com.",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_browser_navigate",
"outputSchema": null
},
{
"description": "Starts the user's Joist Cloud Browser (a real Chrome on Cotlet, signed in to Joist as the user; use it for what the Joist tools do not cover) and opens `url`. Call it first. Only Joist pages open. Answers the page after it: the elements and text in view, with the same numbers. In Joist it serves these actions: Create estimate, Convert estimate to invoice, List invoices, Add client, Record payment.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"url": {
"description": "A public http or https address, e.g. https://example.com.",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_browser_open",
"outputSchema": null
},
{
"description": "Presses a key on the focused element: Enter to send, Tab to the next field, Escape to close a pop-up, arrows in a list or slider, or one character (a site's shortcut). Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"dialog": {
"description": "How to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.",
"enum": [
"accept",
"dismiss"
],
"type": "string"
},
"dialog_text": {
"description": "Text for a prompt dialog this step opens; implies accept.",
"maxLength": 1000,
"type": "string"
},
"key": {
"anyOf": [
{
"enum": [
"Enter",
"Tab",
"Shift+Tab",
"Escape",
"Backspace",
"Delete",
"Space",
"ArrowDown",
"ArrowUp",
"ArrowLeft",
"ArrowRight",
"PageDown",
"PageUp",
"Home",
"End"
]
},
{
"pattern": "^[ -~]$"
}
],
"description": "One of Enter, Tab, Shift+Tab, Escape, Backspace, Delete, Space, ArrowDown, ArrowUp, ArrowLeft, ArrowRight, PageDown, PageUp, Home, End, or one character such as a or 5.",
"type": "string"
},
"repeat": {
"description": "Times to press it. Default 1.",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"name": "cotlet_browser_press",
"outputSchema": null
},
{
"description": "The whole current page: its text (up to 20,000 characters) and a numbered list of its links, buttons, fields and other controls, open dialogs first. Use it on a new page or when a step's answer is not enough; `element` reads only inside one element (a dialog, a form, a list). Never returns field values, cookies or storage.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"element": {
"description": "Read only inside this element.",
"minimum": 1,
"type": "integer"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_browser_read",
"outputSchema": null
},
{
"description": "A JPEG of the visible part of the page. Use it for boards, canvases, maps, charts and layout that the text does not show, then click or drag by `x`, `y` of the image.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_browser_screenshot",
"outputSchema": null
},
{
"description": "Scrolls with the mouse wheel: `down` or `up` by `screens`, to `top` or `bottom`, until `element` is in view, or inside a panel or list (`inside`). Content that loads on scroll appears. Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"direction": {
"description": "Default: down.",
"enum": [
"down",
"up",
"top",
"bottom"
],
"type": "string"
},
"element": {
"description": "Scroll until this element is in view.",
"minimum": 1,
"type": "integer"
},
"inside": {
"description": "Scroll inside this element, not the page.",
"minimum": 1,
"type": "integer"
},
"screens": {
"description": "Viewport heights, for down and up. Default: 0.8.",
"exclusiveMinimum": 0,
"maximum": 10,
"type": "number"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_browser_scroll",
"outputSchema": null
},
{
"description": "Chooses `option` (its label as listed, or its value) in drop-down `element`. For a home-made drop-down, click it, then click the option. Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"dialog": {
"description": "How to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.",
"enum": [
"accept",
"dismiss"
],
"type": "string"
},
"dialog_text": {
"description": "Text for a prompt dialog this step opens; implies accept.",
"maxLength": 1000,
"type": "string"
},
"element": {
"description": "The element's number from the last read or step answer.",
"minimum": 1,
"type": "integer"
},
"option": {
"description": "The option.",
"maxLength": 300,
"type": "string"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"element",
"option"
],
"type": "object"
},
"name": "cotlet_browser_select",
"outputSchema": null
},
{
"description": "Types `text` into field `element`, replacing what it held; `submit` presses Enter after it. For several fields use fill_form. Without `element` the text goes where the focus is, as a person types after clicking: for spreadsheet cells and editors that read does not number (Google Sheets, Docs), click the place first; there a tab in `text` presses Tab and a line break Enter, so one call fills a table. Answers the page after it: the elements and text in view, with the same numbers. Password, card and one-time code fields are refused: the user types them.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"dialog": {
"description": "How to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.",
"enum": [
"accept",
"dismiss"
],
"type": "string"
},
"dialog_text": {
"description": "Text for a prompt dialog this step opens; implies accept.",
"maxLength": 1000,
"type": "string"
},
"element": {
"description": "The field's number from the last read. Leave it out to type where the focus is.",
"minimum": 1,
"type": "integer"
},
"slowly": {
"description": "Key by key, for a search or address field whose suggestions do not appear.",
"type": "boolean"
},
"submit": {
"description": "Press Enter after typing, e.g. to search.",
"type": "boolean"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"text": {
"description": "The text to type.",
"maxLength": 5000,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "cotlet_browser_type",
"outputSchema": null
},
{
"description": "Puts files into file field or upload button `element`: each file is {\"url\": \"https://...\"} or {\"file_id\": \"...\"} of a file uploaded to Cotlet; up to 10 files, 20 MB each. Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"element": {
"description": "The element's number from the last read or step answer.",
"minimum": 1,
"type": "integer"
},
"files": {
"description": "The files.",
"items": {
"additionalProperties": false,
"properties": {
"file_id": {
"description": "A file uploaded to Cotlet.",
"type": "string"
},
"url": {
"description": "A public file URL.",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"element",
"files"
],
"type": "object"
},
"name": "cotlet_browser_upload",
"outputSchema": null
},
{
"description": "Waits until `text` shows on the page (at most `seconds`, default 5, up to 20), or just `seconds`: for results that load slowly. Says whether the text appeared. Answers the page after it: the elements and text in view, with the same numbers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"seconds": {
"description": "At most.",
"exclusiveMinimum": 0,
"maximum": 20,
"type": "number"
},
"tab": {
"description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"text": {
"description": "Text to wait for.",
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_browser_wait",
"outputSchema": null
},
{
"description": "Status of an earlier Cotlet call, by its call_id: pending (waits for the owner's approval in the Cotlet console), approved, running, success, rejected, expired, blocked or failed. For a call that answered with status pending or running.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"call_id": {
"description": "call_id from the earlier call",
"type": "string"
}
},
"required": [
"call_id"
],
"type": "object"
},
"name": "cotlet_get_call",
"outputSchema": null
},
{
"description": "Sends a report to the Cotlet team: a tool that failed or returned wrong data, an error you could not get past, or a step the browser could not do, with the page, the step and what you saw. A missing dedicated tool is not a problem to report: do the task in the browser. A feature the user asks for goes as feature_request. A report promises nothing: tell the user it was sent, never that something will be built or fixed, or when. The report carries the error text and call_id when there is one, never passwords or tokens. Needs the user's Cotlet API key or sign-in.",
"inputSchema": {
"additionalProperties": false,
"description": "Body of POST /api/v1/reports and the arguments of the MCP tool cotlet_report_issue.",
"properties": {
"app": {
"anyOf": [
{
"maxLength": 80,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "App slug the report is about, e.g. 'skool', or for a site in the web browser its host, e.g. 'app.example.com'.",
"title": "App"
},
"call_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "call_id of the call that went wrong, if any.",
"title": "Call Id"
},
"client": {
"anyOf": [
{
"maxLength": 80,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Agent or tool sending this, e.g. 'Claude Code'.",
"title": "Client"
},
"description": {
"description": "What the user asked for, what you tried, what you expected and what happened, with the error text if there was one. No passwords, tokens or other secrets.",
"maxLength": 5000,
"minLength": 10,
"title": "Description",
"type": "string"
},
"kind": {
"description": "bug: a tool did the wrong thing or returned wrong data. error: a call failed or returned an error you could not get past. feature_request: something new the user asked for. missing_feature: a step the task needed that you tried and could not do, in the browser or with a tool. other: anything else.",
"enum": [
"bug",
"error",
"feature_request",
"missing_feature",
"other"
],
"title": "Kind",
"type": "string"
},
"title": {
"description": "One line, e.g. 'skool_list_members stops after 50 members'.",
"maxLength": 200,
"minLength": 3,
"title": "Title",
"type": "string"
},
"tool": {
"anyOf": [
{
"maxLength": 160,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Tool or endpoint name, e.g. 'skool_list_members'.",
"title": "Tool"
}
},
"required": [
"kind",
"title",
"description"
],
"title": "AgentReportCreate",
"type": "object"
},
"name": "cotlet_report_issue",
"outputSchema": null
},
{
"description": "Requests access to apps for the user's workspace, as Request access in the console: every app is granted at once. Not needed to work in an app: the user's AI works in any web app in their Web browser with cotlet_app_guide. An app with dedicated tools gets them after the user signs in to it in their Cloud Browser. Access says nothing about whether a task works there: check that in the browser. Takes app slugs as listed at https://cotlet.dev/api/v1/apps. Free. Needs the user's Cotlet API key or sign-in.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"apps": {
"description": "App slugs, e.g. [\"skool\", \"substack\"].",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"use_case": {
"description": "What the user wants the agent to do in these apps, in their words.",
"maxLength": 1000,
"type": "string"
}
},
"required": [
"apps"
],
"type": "object"
},
"name": "cotlet_request_apps",
"outputSchema": null
},
{
"description": "Returns a one-time upload_url and a file_id for a local file (an image for a post, an attachment). The file is sent to upload_url with an HTTP PUT; an argument that takes a file accepts {\"file_id\": \"...\"}. Up to 25 MB, the URL works once. Free. Needs the user's Cotlet API key or sign-in.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"content_type": {
"description": "MIME type, e.g. image/jpeg.",
"type": "string"
},
"name": {
"description": "File name, e.g. photo.jpg.",
"type": "string"
}
},
"type": "object"
},
"name": "cotlet_upload_file",
"outputSchema": null
},
{
"description": "The Cotlet account this connection acts as: email, workspace, access status, the API key or OAuth client in use with its scope, the apps the workspace may call, its credit balance, and the app the user signed up for with its first task and sign-in link. Free. Needs the user's Cotlet API key or sign-in.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "cotlet_whoami",
"outputSchema": null
},
{
"description": "New saved estimate with line items, tax, discount, deposit and expiry. Nothing is sent to the client. Creates an estimate for a client with the next estimate number, copying the client's name, email, phone and address as Joist does. tax_rate applies one percent to every line, reusing your saved rate with that percent or adding one; tax_id picks a saved rate. A deposit shows as Deposit Due. expires_on cannot be in the past. Nothing is sent: the client sees it only after send_estimate. Joist computes the total.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"client_id": {
"description": "From list_clients or add_client.",
"pattern": "^[0-9]+$",
"type": "string"
},
"deposit": {
"additionalProperties": false,
"description": "Requested deposit, shown as Deposit Due: percent or amount.",
"properties": {
"type": {
"enum": [
"percent",
"amount"
],
"type": "string"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"discount": {
"additionalProperties": false,
"description": "Discount on the subtotal: percent or amount.",
"properties": {
"type": {
"enum": [
"percent",
"amount"
],
"type": "string"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"document_date": {
"description": "Estimate date. Default: today.",
"format": "date",
"type": "string"
},
"expires_on": {
"description": "Last day the estimate is valid.",
"format": "date",
"type": "string"
},
"line_items": {
"description": "Lines: name, rate, optional quantity, description, item_id.",
"items": {
"additionalProperties": false,
"properties": {
"description": {
"maxLength": 5000,
"type": "string"
},
"item_id": {
"description": "Saved item from list_items, kept as the line's source.",
"pattern": "^[0-9]+$",
"type": "string"
},
"name": {
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"quantity": {
"default": 1,
"exclusiveMinimum": 0,
"type": "number"
},
"rate": {
"description": "Price per unit.",
"minimum": 0,
"type": "number"
}
},
"required": [
"name",
"rate"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"notes": {
"description": "Notes shown on the document.",
"maxLength": 5000,
"type": "string"
},
"po_number": {
"description": "PO number.",
"maxLength": 100,
"type": "string"
},
"tax_id": {
"description": "A saved tax rate from list_items (taxes) instead of tax_rate.",
"pattern": "^[0-9]+$",
"type": "string"
},
"tax_rate": {
"description": "Tax percent on every line, e.g. 7.25. Uses your tax rate with that percent, or adds one.",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"required": [
"client_id",
"line_items"
],
"type": "object"
},
"name": "create_estimate",
"outputSchema": null
},
{
"description": "New saved invoice for a client without an estimate. Nothing is sent to the client. Creates an invoice with the next invoice number, the client's details, line items, tax, discount, deposit and payment terms (due date = invoice date + payment_terms_days). For work you estimated, use convert_estimate_to_invoice instead. Nothing is sent: the client sees it only after send_invoice.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"client_id": {
"description": "From list_clients or add_client.",
"pattern": "^[0-9]+$",
"type": "string"
},
"deposit": {
"additionalProperties": false,
"description": "Requested deposit, shown as Deposit Due: percent or amount.",
"properties": {
"type": {
"enum": [
"percent",
"amount"
],
"type": "string"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"discount": {
"additionalProperties": false,
"description": "Discount on the subtotal: percent or amount.",
"properties": {
"type": {
"enum": [
"percent",
"amount"
],
"type": "string"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"document_date": {
"description": "Invoice date. Default: today.",
"format": "date",
"type": "string"
},
"line_items": {
"description": "Lines: name, rate, optional quantity, description, item_id.",
"items": {
"additionalProperties": false,
"properties": {
"description": {
"maxLength": 5000,
"type": "string"
},
"item_id": {
"description": "Saved item from list_items, kept as the line's source.",
"pattern": "^[0-9]+$",
"type": "string"
},
"name": {
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"quantity": {
"default": 1,
"exclusiveMinimum": 0,
"type": "number"
},
"rate": {
"description": "Price per unit.",
"minimum": 0,
"type": "number"
}
},
"required": [
"name",
"rate"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"notes": {
"description": "Notes shown on the document.",
"maxLength": 5000,
"type": "string"
},
"payment_terms_days": {
"default": 0,
"description": "Days after the invoice date the payment is due (0: due on receipt).",
"maximum": 365,
"minimum": 0,
"type": "integer"
},
"po_number": {
"description": "PO number.",
"maxLength": 100,
"type": "string"
},
"tax_id": {
"description": "A saved tax rate from list_items (taxes) instead of tax_rate.",
"pattern": "^[0-9]+$",
"type": "string"
},
"tax_rate": {
"description": "Tax percent on every line, e.g. 7.25. Uses your tax rate with that percent, or adds one.",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"required": [
"client_id",
"line_items"
],
"type": "object"
},
"name": "create_invoice",
"outputSchema": null
},
{
"description": "Delete an estimate for good. Deletes the estimate from Joist; it cannot be undone and the client's link stops working. An invoice made from it stays.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"estimate_id": {
"description": "From list_estimates.",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"estimate_id"
],
"type": "object"
},
"name": "delete_estimate",
"outputSchema": null
},
{
"description": "Delete an invoice that has no payments, for good. Deletes the invoice from Joist; it cannot be undone and the client's link stops working. An invoice with payments recorded is refused, so your payment history stays.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"invoice_id": {
"description": "From list_invoices.",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"invoice_id"
],
"type": "object"
},
"name": "delete_invoice",
"outputSchema": null
},
{
"description": "Joist's monthly CSV of estimates or invoices: number, client, subtotal, tax, total, dates, payments. Runs the same export as the Export button on Joist's Estimates or Invoices page for one month, by date issued: number, client name, subtotal, one column per tax name, total, date issued, date created and, for invoices, payment received less refunds. Returns the columns, the rows and the CSV text as Joist made it, at most 2000 rows parsed. Line items are not in the export; use get_estimate or get_invoice.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"month": {
"description": "Month as YYYY-MM.",
"pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$",
"type": "string"
},
"type": {
"enum": [
"estimates",
"invoices"
],
"type": "string"
}
},
"required": [
"type",
"month"
],
"type": "object"
},
"name": "export_documents",
"outputSchema": null
},
{
"description": "One client card: every email and phone, billing and service address, notes and tags. Returns one client with all emails and phones, the billing and service address, notes and tags.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"client_id": {
"description": "From list_clients.",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"client_id"
],
"type": "object"
},
"name": "get_client",
"outputSchema": null
},
{
"description": "Full estimate: client, line items, tax, discount, deposit, expiry, approval and signature. Returns one estimate with its client, every line item with its taxes, subtotal, discount, tax, total, requested deposit, expiry, approval status, signature date and the client's link. Read it before changing or sending the estimate.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"estimate_id": {
"description": "From list_estimates.",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"estimate_id"
],
"type": "object"
},
"name": "get_estimate",
"outputSchema": null
},
{
"description": "Full invoice: client, line items, tax, discount, deposit, due date, balance and every payment. Returns one invoice with its client, every line item with its taxes, subtotal, discount, tax, total, requested deposit, payment terms and due date, amount paid, balance due, overdue, the estimate it came from, and the payments and refunds recorded on it. Check the payments before recording another.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"invoice_id": {
"description": "From list_invoices.",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"invoice_id"
],
"type": "object"
},
"name": "get_invoice",
"outputSchema": null
},
{
"description": "A Joist report for a date range: revenue, invoices, estimates or sales tax, with the period total. Returns one of the reports on Joist's Reports page for a date range, optionally for one client: revenue received per invoice (partial payments included), invoice statuses and balances, estimate statuses, or sales tax collected per tax. total is the report's total for the period. Joist updates report numbers once a day, so today's documents and payments show tomorrow. Reports are part of Joist Elite (and the trial). Pass next_cursor back as cursor.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"client": {
"description": "Only this client, by exact name.",
"maxLength": 255,
"type": "string"
},
"cursor": {
"description": "next_cursor from the previous call.",
"type": "string"
},
"from": {
"description": "First day of the period.",
"format": "date",
"type": "string"
},
"limit": {
"default": 50,
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"report": {
"description": "revenue (payments received per invoice, with balances at the start and end of the period), invoices (status, total, balance and due date), estimates (status, total, expiry) or sales_tax (tax collected per tax name and invoice).",
"enum": [
"revenue",
"invoices",
"estimates",
"sales_tax"
],
"type": "string"
},
"tax_name": {
"description": "sales_tax: only this tax, by name.",
"maxLength": 255,
"type": "string"
},
"to": {
"description": "Last day, up to a year after from.",
"format": "date",
"type": "string"
}
},
"required": [
"report",
"from",
"to"
],
"type": "object"
},
"name": "get_report",
"outputSchema": null
},
{
"description": "Add client in the user's own Joist account from ChatGPT, Claude or any AI agent. Returns how to do it in Joist step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Joist Cloud Browser. Joist's official API: Joist has no public API (checked 26 Oct 2026): its help center and pricing page document none, and there are no webhooks.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "joist_add_client",
"outputSchema": null
},
{
"description": "Convert estimate to invoice in the user's own Joist account from ChatGPT, Claude or any AI agent. Returns how to do it in Joist step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Joist Cloud Browser. Joist's official API: Joist has no public API (checked 26 Oct 2026): its help center and pricing page document none, and there are no webhooks.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "joist_convert_estimate_to_invoice",
"outputSchema": null
},
{
"description": "Create estimate in the user's own Joist account from ChatGPT, Claude or any AI agent. Returns how to do it in Joist step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Joist Cloud Browser. Joist's official API: Joist has no public API (checked 26 Oct 2026): its help center and pricing page document none, and there are no webhooks.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "joist_create_estimate",
"outputSchema": null
},
{
"description": "List invoices in the user's own Joist account from ChatGPT, Claude or any AI agent. Returns how to do it in Joist step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Joist Cloud Browser. Joist's official API: Joist has no public API (checked 26 Oct 2026): its help center and pricing page document none, and there are no webhooks.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "joist_list_invoices",
"outputSchema": null
},
{
"description": "Record payment in the user's own Joist account from ChatGPT, Claude or any AI agent. Returns how to do it in Joist step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Joist Cloud Browser. Joist's official API: Joist has no public API (checked 26 Oct 2026): its help center and pricing page document none, and there are no webhooks.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "joist_record_payment",
"outputSchema": null
},
{
"description": "Clients in your account with name, email, phone and address. Lists your Joist clients A to Z, one Joist page per call, or the matches of search (name, email, phone or address). Pass next_cursor back as cursor; an empty page ends the list. client_id goes to create_estimate, create_invoice and the client filter of list_estimates and list_invoices.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cursor": {
"description": "next_cursor from the previous call.",
"type": "string"
},
"search": {
"description": "Part of a name, email, phone or address.",
"maxLength": 100,
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "list_clients",
"outputSchema": null
},
{
"description": "Estimates with number, client, total, expiry, status, approval, and whether it was emailed or signed. Lists estimates newest first, from one of the panel's tabs (approval pending, approved, declined or all), optionally searched by client name or number or limited to one client. status is Joist's: draft, issued (sent), invoiced (an invoice was made from it). email_status says whether it was emailed (unsent, sent) and signed whether the client signed it. Pass next_cursor back as cursor.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"approval": {
"default": "all",
"description": "The panel's tabs: pending, approved, declined, or all (default).",
"enum": [
"all",
"pending",
"approved",
"declined"
],
"type": "string"
},
"client_id": {
"description": "Only this client's estimates (list_clients).",
"pattern": "^[0-9]+$",
"type": "string"
},
"cursor": {
"description": "next_cursor from the previous call.",
"type": "string"
},
"limit": {
"default": 40,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"search": {
"description": "Client name or estimate number.",
"maxLength": 100,
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "list_estimates",
"outputSchema": null
},
{
"description": "Invoices with client, total, amount paid, balance due, due date and overdue. Active, paid or all. Lists invoices newest first from the panel's Active tab (not paid in full; default) or Paid tab, or all. overdue keeps the active ones past their due date, which is the invoice date plus its payment terms. status is Joist's: draft, issued (sent), partial or paid. Search matches client name or number. Each page of overdue may hold fewer rows than limit; follow next_cursor until it is null.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"client_id": {
"description": "Only this client's invoices (list_clients).",
"pattern": "^[0-9]+$",
"type": "string"
},
"cursor": {
"description": "next_cursor from the previous call.",
"type": "string"
},
"limit": {
"default": 25,
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"search": {
"description": "Client name or invoice number.",
"maxLength": 100,
"type": "string"
},
"view": {
"default": "active",
"description": "active (not paid in full; default), overdue (active and past due), paid, or all.",
"enum": [
"active",
"overdue",
"paid",
"all"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "list_invoices",
"outputSchema": null
},
{
"description": "Saved items from your Items list with rate and description, plus your tax rates. Lists the items you saved in Joist, one Joist page per call, or the matches of search on the name. Reuse their names and rates as line items (item_id) instead of guessing prices. The first page also lists your tax rates (tax_id for create_estimate and create_invoice); later pages leave taxes empty. Pass next_cursor back as cursor; an empty page ends the list.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cursor": {
"description": "next_cursor from the previous call.",
"type": "string"
},
"search": {
"description": "Part of the item name.",
"maxLength": 100,
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "list_items",
"outputSchema": null
},
{
"description": "Record a cash, check, credit card or bank transfer payment on an invoice; paid in full moves to Paid. Records a payment received outside Joist Payments, as Record Payment does in Joist. Partial payments are allowed and an invoice can hold several; an amount above the balance due or a date in the future is refused. Once paid in full the invoice moves from Active to Paid. Check get_invoice first so the same check is not entered twice. By default you confirm each call, and you can switch that off for this tool.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"amount": {
"description": "Amount received, e.g. 1200.50.",
"exclusiveMinimum": 0,
"type": "number"
},
"invoice_id": {
"description": "From list_invoices.",
"pattern": "^[0-9]+$",
"type": "string"
},
"method": {
"description": "How the client paid.",
"enum": [
"cash",
"check",
"credit_card",
"bank_transfer"
],
"type": "string"
},
"paid_on": {
"description": "Payment date. Default: today.",
"format": "date",
"type": "string"
}
},
"required": [
"invoice_id",
"amount",
"method"
],
"type": "object"
},
"name": "record_payment",
"outputSchema": null
},
{
"description": "Email the estimate to the client from Joist with its link and PDF. Emails the estimate from Joist, as its Send button does: the client gets a link to view and sign it and the PDF. Without to it goes to the client email on the document; subject and message default to Joist's subject and your saved estimate message. A draft becomes issued; a sent estimate can be sent again. By default you confirm each call, and you can switch that off for this tool. Waits for the owner's approval.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"estimate_id": {
"description": "From list_estimates.",
"pattern": "^[0-9]+$",
"type": "string"
},
"message": {
"description": "Default: your estimate email message.",
"maxLength": 5000,
"type": "string"
},
"subject": {
"description": "Default: Joist's subject.",
"maxLength": 200,
"type": "string"
},
"to": {
"description": "Recipients. Default: the client email on the document.",
"items": {
"format": "email",
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
}
},
"required": [
"estimate_id"
],
"type": "object"
},
"name": "send_estimate",
"outputSchema": null
},
{
"description": "Email the invoice to the client from Joist with its link and PDF. Emails the invoice from Joist, as its Send button does: the client gets a link to view and pay it and the PDF. Without to it goes to the client email on the document; subject and message default to Joist's subject and your saved invoice message. A draft becomes issued; a sent invoice can be sent again. By default you confirm each call, and you can switch that off for this tool. Waits for the owner's approval.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"invoice_id": {
"description": "From list_invoices.",
"pattern": "^[0-9]+$",
"type": "string"
},
"message": {
"description": "Default: your invoice email message.",
"maxLength": 5000,
"type": "string"
},
"subject": {
"description": "Default: Joist's subject.",
"maxLength": 200,
"type": "string"
},
"to": {
"description": "Recipients. Default: the client email on the document.",
"items": {
"format": "email",
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
}
},
"required": [
"invoice_id"
],
"type": "object"
},
"name": "send_invoice",
"outputSchema": null
},
{
"description": "Change an estimate's lines, tax, discount, deposit, expiry, notes or PO number. Nothing is sent. Changes only the fields you pass. line_items replaces every line (the tax stays unless you pass tax_rate, tax_id or remove_tax). tax_rate or tax_id alone re-taxes the current lines. discount or deposit null removes it. Joist recomputes the total. Nothing is sent; a client who already got the estimate sees the change behind the same link.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"deposit": {
"additionalProperties": false,
"description": "null removes it.",
"properties": {
"type": {
"enum": [
"percent",
"amount"
],
"type": "string"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"value"
],
"type": [
"object",
"null"
]
},
"discount": {
"additionalProperties": false,
"description": "null removes it.",
"properties": {
"type": {
"enum": [
"percent",
"amount"
],
"type": "string"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"value"
],
"type": [
"object",
"null"
]
},
"estimate_id": {
"description": "From list_estimates.",
"pattern": "^[0-9]+$",
"type": "string"
},
"expires_on": {
"description": "New last valid day.",
"format": "date",
"type": "string"
},
"line_items": {
"description": "Replaces every line. Leave out to keep the lines.",
"items": {
"additionalProperties": false,
"properties": {
"description": {
"maxLength": 5000,
"type": "string"
},
"item_id": {
"description": "Saved item from list_items, kept as the line's source.",
"pattern": "^[0-9]+$",
"type": "string"
},
"name": {
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"quantity": {
"default": 1,
"exclusiveMinimum": 0,
"type": "number"
},
"rate": {
"description": "Price per unit.",
"minimum": 0,
"type": "number"
}
},
"required": [
"name",
"rate"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"notes": {
"description": "Notes shown on the document.",
"maxLength": 5000,
"type": "string"
},
"po_number": {
"description": "PO number.",
"maxLength": 100,
"type": "string"
},
"remove_tax": {
"description": "true takes the tax off every line.",
"type": "boolean"
},
"tax_id": {
"description": "A saved tax rate from list_items (taxes) instead of tax_rate.",
"pattern": "^[0-9]+$",
"type": "string"
},
"tax_rate": {
"description": "Tax percent on every line, e.g. 7.25. Uses your tax rate with that percent, or adds one.",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"required": [
"estimate_id"
],
"type": "object"
},
"name": "update_estimate",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:9bd513d5cdd0d9db72977615c0442d47c6058b78495309fae7eb1f7c519a3cb0 | sha256sum