L'Atlas / Serveurs MCP / Simpler.Asia
Serveur MCP

Simpler.Asia

asia.simpler/simpler-asia

Serveur MCP OK 320 outils

Faire examiner Voir les tarifs

Free back office for small businesses in Singapore and Southeast Asia: invoices, expenses, stock.

Fiche technique

Auteur
simpler.asia (espace de noms du registre)
Dépôt
—
Site
simpler.asia
Version
1.0.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://simpler.asia/mcp Streamable HTTP
Outils
320
Catégories
Finance et paiement
Dernière mise à jour
23 oct. 2026
Publication
23 oct. 2026

Auteur vérifié et popularité

Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la

Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.

  • Visiteurs distincts de la fiche sur 30 jours : 1 (il en faut 30) pas encore
  • ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
  • et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli

Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche

MarkdownREADME.md
[![Statut sur L’Atlas](https://latlas.dev/badge/statut/mcp/asia.simpler/simpler-asia.svg)](https://latlas.dev/mcp/asia.simpler/simpler-asia)
HTML
<a href="https://latlas.dev/mcp/asia.simpler/simpler-asia"><img src="https://latlas.dev/badge/statut/mcp/asia.simpler/simpler-asia.svg" alt="Statut sur L’Atlas" height="20"></a>

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/asia.simpler/simpler-asia.svg)](https://latlas.dev/mcp/asia.simpler/simpler-asia)
HTML
<a href="https://latlas.dev/mcp/asia.simpler/simpler-asia"><img src="https://latlas.dev/badge/fiche/asia.simpler/simpler-asia.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://simpler.asia/mcp
Dernier résultat
OK 28 nov. 2026, 08:08
Temps de réponse
2 535 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
simpler-prod 8c732fa71ee8371a
Outils
320

Historique

DateRésultatRéponseOutils
28 nov. 2026, 08:08OK2 535 ms320

Outils exposés (320, réponse à tools/list, 28 nov. 2026)

simpler.directory

DISCOVERY TIER 1 of 3 — the service directory: one token-dense line per service (s:name st:status cost:class ops:N — purpose). START HERE instead of reading every tool. No auth required. NEXT: simpler.describe_service with a service name from the listing.

Aucun paramètre.

simpler.describe_service

DISCOVERY TIER 2 of 3 — one service's operations and entity shapes from the live catalog, token-dense (op lines name the underlying tool). No auth required. NEXT: simpler.invoke {service, operation, args} — or call the named tool directly.

ParamètreTypeRequisDescription
servicestringouiA service name from simpler.directory.

simpler.invoke

DISCOVERY TIER 3 of 3 — execute one operation: dispatches to the underlying generated tool (same gates, same envelope, same idempotency as calling it directly). Requires auth. args = the underlying tool's arguments object.

ParamètreTypeRequisDescription
servicestringouiA service name from simpler.directory.
operationstringouiAn op name from simpler.describe_service (e.g. 'create'), or the full tool name (e.g. 'sticky_note_create').
argsobjectnonArguments for the resolved tool.

simpler.outcomes

DISCOVERY TIER 0 — the OUTCOME MENU: one line per common business outcome, each mapped to ONE tool with one-call notes (composites: ONE call creates the whole document). START HERE for a business task. No auth required. NEXT: call the named tool directly, or simpler.directory for the full catalog.

ParamètreTypeRequisDescription
outcomestringnonOptional: what you want done, in a few words. The answer is that outcome's one line and its tool.

simpler.approval_status

Check a parked approval by approval_id (returned in an APPROVAL_REQUIRED refusal). States: pending (the account owner has not decided — tell the user, do NOT retry the original call), executed (done — the result rides this response; never re-run the call; an approved invoice_share or quote_share keeps no link or document here, so read the current link with that tool and action 'get' as result.link_not_stored.next_call says), rejected / expired / failed (terminal — re-compose only if the user asks again). Scoped to the granting user's approvals.

ParamètreTypeRequisDescription
approval_idstringouiThe approval id from the APPROVAL_REQUIRED refusal envelope.

agent_note_send_cross_tenant

Send a cross-tenant AI-to-AI message into another tenant's agent_note inbox — the door that turns a cross_tenant_comm consent grant into an actual reach. Both tenants must be KYB-approved and the recipient must hold an active grant (claims can narrow it further); every recipient-side failure refuses identically so the network can't be probed for who exists — only your OWN unapproved KYB answers distinctly, since that discloses nothing about the target. Your sender identity is injected server-side into from_tenant_id and cannot be spoofed. NEXT: agent_note_list on the recipient side confirms delivery.

ParamètreTypeRequisDescription
from_tenant_idstringnon
consent_grant_idstringnon
subjectstringnon
bodystringnon
related_entity_typestringnon
related_entity_idstringnon
statusenum: "unread" | "read"non
to_tenant_idstringouiThe recipient tenant id — must be another tenant, never your own. The recipient must hold an active cross_tenant_comm consent grant and both tenants must be KYB-approved, or the door refuses uniformly without revealing which condition failed.

contact_upsert

Create-or-merge a contact keyed on email-then-phone identity — the sync door the future desktop harness and ingest lanes write through. Matching probes email first, then phone; a hit MERGES only the fields you send (omitted fields keep their stored values, so a partial sync payload can never wipe a curated field), a miss creates. Status moves still obey the transition machine — an upsert cannot jump straight to vip. Accepts the same first-note/first-interaction composite children as contact_create.

ParamètreTypeRequisDescription
namestringnon
companystringnon
emailstringnon
phonestringnon
addressstringnon
statusenum: "lead" | "contacted" | "qualified" | "customer" | "vip" | "inactive"non
sourceenum: "manual" | "import" | "invoice" | "sync"non
tagsstringnon
last_contact_atintegernon
notestringnonLog a first note in the SAME call — ONE call makes both.
notesstringnonAlias of note.
interactionobjectnonLog the first interaction in the same call: {type, summary, occurred_at?} — occurred_at takes "YYYY-MM-DD".
first_interactionobjectnonAlias of interaction.

expense_create

Logs a new expense — amount_cents must be integer CENTS (a decimal string via `amount` also works, and `category` resolves to a category_id by name). A same-amount, same-UTC-day duplicate for the same user is refused as CONFLICT unless you resend identically with force: true. Status is honor-or-refuse: admin/owner creators land 'approved' by default (or may request it explicitly), everyone else always starts 'draft'. NEXT: expense_submit sends a draft into the approval queue.

ParamètreTypeRequisDescription
vendorstringnon
amount_centsintegernon
currencystringnon
category_idstringnon
expense_dateintegernon
receipt_keystringnon
ocr_jsonstringnon
notesstringnon
tags_jsonstringnon
subtotal_centsintegernon
tax_amount_centsintegernon
tax_rate_bpsintegernon
tax_typeenum: "GST" | "SST" | "VAT" | "PPN"non
statusenum: "draft" | "pending" | "approved" | "rejected" | "reimbursed"non
submitted_atintegernon
approved_bystringnon
approved_atintegernon
rejection_reasonstringnon
rejected_atintegernon
reimbursed_atintegernon
recurrence_idstringnon
amountstringnonDecimal money STRING ("23.50") — the platform converts; integer CENTS ($23.50 → 2350) via amount_cents is also accepted.
totalstringnonAlias of amount — same decimal money STRING parsing.
coststringnonAlias of amount — same decimal money STRING parsing.
datestringnonYYYY-MM-DD (omitted = today).
categorystringnonCategory by name or slug, e.g. 'food'.
category_namestringnonAlias of category — resolves to category_id by name or slug.
descriptionstringnonAlias of notes — used only when notes is not also supplied.
forcebooleannonResend an identical expense_create with force: true to save it despite a same-amount, same-UTC-day duplicate match; omitted or false leaves the duplicate check refusing with CONFLICT.

expense_submit

Sends your own draft expense into the approval queue — draft only; an already-submitted or resolved expense refuses CONFLICT, and only the expense's own creator may submit it. Nobody is notified automatically — approvers see it appear in the Team Claims view. NEXT: expense_approve or expense_reject (admin/owner).

ParamètreTypeRequisDescription
vendorstringnon
amount_centsintegernon
currencystringnon
category_idstringnon
expense_dateintegernon
receipt_keystringnon
ocr_jsonstringnon
notesstringnon
tags_jsonstringnon
subtotal_centsintegernon
tax_amount_centsintegernon
tax_rate_bpsintegernon
tax_typeenum: "GST" | "SST" | "VAT" | "PPN"non
statusenum: "draft" | "pending" | "approved" | "rejected" | "reimbursed"non
submitted_atintegernon
approved_bystringnon
approved_atintegernon
rejection_reasonstringnon
rejected_atintegernon
reimbursed_atintegernon
recurrence_idstringnon
idstringouiThe expense id (expense_list shows them).

expense_approve

Approves a submitted expense claim — requires the admin or owner role, and only a 'pending' expense qualifies (CONFLICT otherwise). Stamps approved_by and approved_at with the caller and the current time; once approved, the row's content freezes for everyone except the approver themselves. NEXT: expense_reimburse (owner only) to pay it out.

ParamètreTypeRequisDescription
vendorstringnon
amount_centsintegernon
currencystringnon
category_idstringnon
expense_dateintegernon
receipt_keystringnon
ocr_jsonstringnon
notesstringnon
tags_jsonstringnon
subtotal_centsintegernon
tax_amount_centsintegernon
tax_rate_bpsintegernon
tax_typeenum: "GST" | "SST" | "VAT" | "PPN"non
statusenum: "draft" | "pending" | "approved" | "rejected" | "reimbursed"non
submitted_atintegernon
approved_bystringnon
approved_atintegernon
rejection_reasonstringnon
rejected_atintegernon
reimbursed_atintegernon
recurrence_idstringnon
idstringouiThe expense id (expense_list shows them).

interaction_create

Log an interaction — call, meeting, email, message, visit, payment, or other — against a contact. The ONE activity-logging door every lane funnels through, so the contact's last_contact_at freshness bumps no matter which surface logged the touch; the bump never moves backward, so importing older history can never regress a fresher touch. Accepts contact_name, contact_email or contact_phone in place of contact_id. NEXT: contact_read to see the bumped last_contact_at.

ParamètreTypeRequisDescription
contact_idstringnon
interaction_typeenum: "meeting" | "call" | "email" | "message" | "visit" | "payment" | "other"non
summarystringnon
occurred_atintegernon
source_refstringnon
contact_namestringnonNo contact_id handy? Resolves the contact by exact name — a unique match wins; ambiguity refuses with the candidate ids.
contact_emailstringnonResolves the contact by exact email when contact_id is absent.
contact_phonestringnonResolves the contact by exact phone when contact_id is absent.

invoice_create

ONE call creates the whole document: client_name + `items` [{description, quantity, unit_price}], each price as written ("5000.00"). It claims the next invoice number and writes every line; client_name finds or creates the client. A 'paid' birth needs items in the same call. tax_scheme sg_gst or my_sst taxes each line by its tax_code (refusals: see tax_scheme). When present, the second content block is the invoice as copy-ready text, shown with a Copy button where the host draws MCP Apps; if the user says they cannot see the invoice, give them that block word for word; share:true adds a client link, only when the user asks for one. NEXT: invoice_payment_record to record money-in.

ParamètreTypeRequisDescription
client_idstringnon
invoice_numberstringnon
statusenum: "draft" | "sent" | "paid" | "cancelled"non
issue_dateintegernon
due_dateintegernon
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …non
tax_rate_bpsintegernon
notesstringnon
payment_termsstringnon
source_typeenum: "quote" | "recurring" | "quick_sale"non
source_idstringnon
cash_saleintegernon
payment_methodenum: "cash" | "transfer" | "ewallet" | "other"non
sent_atintegernon
paid_atintegernon
tax_schemeenum: "sg_gst" | "my_sst" | "none"nonsg_gst (Singapore GST) or my_sst (Malaysia SST): each line is taxed by its tax_code at the rate in force on the issue date. Under a scheme, a tax_rate_bps other than that rate, an unknown tax_code and a my_sst line without one are refused, naming the valid codes and the rate's source. "none" = no s…
prices_include_taxbooleannontrue = unit prices already include the tax (the tax is worked back out of each line). Default false. Needs a tax_scheme, except on a cash sale (cash_sale 1): its total is then the amount taken, with tax_rate_bps (or your default rate) worked out inside it, as the Quick Sale keypad records it.
fx_rate_to_sgd_ppmintegernon
fx_rate_datestringnonThe date the fx rate is for, YYYY-MM-DD. Send with fx_rate_to_sgd.
itemsarray<object>nonONE call creates the whole document — each line's unit_price is its price exactly as written, a decimal string ("5000.00" for $5,000), and the platform stores the cents itself; or send unit_price_cents in integer CENTS ($15.00 → 1500). quantity takes up to 3 decimals (1.5 hours → 1.5); unit is an o…
line_itemsarray<object>nonAlias of items.
client_namestringnonClient by NAME — resolves to an existing client or creates one (no client_id lookup needed).
forcebooleannonConfirms a create whose notes or single line item read like a payment RECEIVED or a write-off rather than a new bill — resend the SAME call with force:true to create it anyway. No effect on quote_create (the intent trap is invoice-only).
fx_rate_to_sgdstringnonsg_gst invoices in a currency other than SGD: Singapore dollars per 1 unit of the invoice currency as a decimal string, up to 6 decimals ("1.3502"), from a source IRAS accepts (MAS, a local bank, Bloomberg, Reuters, Oanda) for the date of supply. Send with fx_rate_date. Or send fx_rate_to_sgd_ppm (…
sharebooleannonOnly when the user asks for a link: true also returns share_url (the client's link to view the invoice) and the full document in this same call. Where this environment has no public address, share_path and share_url_unavailable come back instead of share_url. Nothing is sent.
ready_to_sendbooleannonWhen the user wants to give the client the invoice (forward it, send it, get it ready): true issues it (status 'sent': it is owed from now and counts in receivables) and returns handoff, invoice_handoff's result: the client link, the PDF and the prepared message. Needs items. Nothing is sent: the u…

invoice_adjustment_record

[REQUIRES APPROVAL] Records a credit note, write-off or post-issue discount on an issued invoice. A credit_note is numbered from the credit note series, holds its tax at the invoice's rate and takes reason_code and credit_outcome: reduce_balance (default) lowers what is owed; refunded_outside records a refund the business made outside Simpler, moves no money and is how a 'paid' invoice gets one. write_off and discount_post_issue need a 'sent' invoice. Money is integer CENTS (amount_cents) or a decimal STRING (amount); caps: see preconditions. Refuses a draft, a cancelled invoice, an amount over its cap and dispute_settlement; each refusal names the fix. An agent's call parks for approval. NEXT: invoice_read.

ParamètreTypeRequisDescription
invoice_idstringnon
adjustment_typeenum: "credit_note" | "write_off" | "discount_post_issue" | "dispute_settlement"non
amount_centsintegernon
currencystringnon
reasonstringnon
occurred_atintegernon
reason_codeenum: "goods_returned" | "damaged_or_defective" | "pricing_error" | "discount" | "service_not_rendered" | "cancellation" | "other"non
credit_outcomeenum: "reduce_balance" | "refunded_outside"non
invoice_numberstringnonAlias of invoice_id — the invoice's own number (tenant-unique), resolved server-side.
amountstringnonMoney as a decimal STRING ("1500.00" = $1,500.00), parsed server-side. Use amount_cents for integer CENTS instead — never convert units yourself.
partialbooleannonConfirms a deliberate PARTIAL write_off below the invoice's full remaining balance (checked only when adjustment_type is write_off) — resend the SAME call with partial:true; without it a below-remainder write_off refuses as a likely mis-carried amount.

invoice_payment_record

Records a money-in fact row against an invoice (by invoice_id or its invoice_number) in ONE call: money is integer CENTS via amount_cents, or a decimal STRING via amount — never multiply or divide yourself. A draft invoice auto-advances to 'sent'; a cancelled invoice refuses; an amount above the remaining balance refuses unless allow_overpayment is true. status 'paid' derives from the ledger this writes, so this is how an invoice becomes paid. A same invoice/amount/day repeat refuses as a likely duplicate unless resent with force:true. NEXT: invoice_read to read it back.

ParamètreTypeRequisDescription
invoice_idstringnon
amount_centsintegernon
currencystringnon
occurred_atintegernon
methodenum: "cash" | "transfer" | "ewallet" | "other"non
notestringnon
invoice_numberstringnonAlias of invoice_id — the invoice's own number (tenant-unique), resolved server-side.
amountstringnonMoney as a decimal STRING ("1500.00" = $1,500.00), parsed server-side. Use amount_cents for integer CENTS instead — never convert units yourself.
allow_overpaymentbooleannonExplicit override (default false): record more than the remaining balance / pay an already-settled invoice.
forcebooleannonConfirms a genuine second payment when the same invoice/amount/day already has one recorded (default false refuses it as a likely duplicate) — resend the SAME call with force:true.

myinvois_invoice_generate

Mint a sealed LHDN e-invoice in ONE call: invoice_type, line_items (unit_price_cents in integer CENTS, tax_rate_bps in basis points), and a buyer as customer_id or an inline buyer object. Refuses until myinvois_settings_save is done; invoice_type 02/03/04 also needs original_invoice_id naming a type-01 invoice with a recorded LHDN UUID, checked BEFORE the number is claimed, so a rejected note never burns a number. The result is immutable and carries portal_field_sheet; Simpler never submits it to LHDN. NEXT: the owner keys the field sheet into the MyInvois portal form, then myinvois_invoice_record_submission with the UUID the portal assigns.

ParamètreTypeRequisDescription
customer_idstringnon
invoice_numberstringnon
invoice_typeenum: "01" | "02" | "03" | "04"non
statusenum: "generated" | "submitted"non
issue_datestringnon
currencystringnon
subtotal_centsintegernon
tax_centsintegernon
total_centsintegernon
buyer_namestringnon
buyer_tinstringnon
invoice_datastringnon
reference_invoice_idstringnon
lhdn_uuidstringnon
lhdn_long_idstringnon
lhdn_submitted_atintegernon
line_itemsarray<object>ouiLine items: [{description, quantity, unit_price_cents, tax_rate_bps?, tax_type?, classification_code?, unit_code?}]. Money is integer CENTS, tax_rate_bps is basis points (600 = 6%); tax_type/classification_code/unit_code default when omitted and validate against the LHDN code tables (GET /api/myinv…
buyerobjectnonInline one-off buyer party — {name, tin, brn?, address?, city?, state_code?, postal_code?, country_code?, email?, contact_number?}. Required when customer_id is not given; ignored when it is.
original_invoice_idstringnonThe type-01 original this note references — required for invoice_type 02, 03 or 04, refused for 01. Must already carry an LHDN UUID (myinvois_invoice_record_submission).
payment_termsstringnonPayment terms text for this document; defaults to the supplier profile's default_payment_terms when omitted.
notesstringnonFree-text notes printed on the generated e-invoice; optional.
billing_periodobjectnonOptional LHDN billing period {start_date, end_date, frequency?}: dates as YYYY-MM-DD, end on or after start, frequency up to 50 characters (for example Monthly). Leave it out when the invoice covers no period; the e-invoice then carries none.

myinvois_invoice_record_submission

Record the UUID the LHDN MyInvois portal assigned after the owner keyed this e-invoice into the portal (its form or LHDN's Excel batch template). Simpler never submits to LHDN and never calls the MyInvois API; this only stores the UUID the owner copies back. Only a type-01 original accepts a UUID: credit, debit and refund notes are refused (they link through BillingReference), so record the UUID on the original instead. Moves status generated to submitted; calling it again on a submitted invoice corrects a mistyped UUID. NEXT: myinvois_invoice_read to see the UUID attached.

ParamètreTypeRequisDescription
customer_idstringnon
invoice_numberstringnon
invoice_typeenum: "01" | "02" | "03" | "04"non
statusenum: "generated" | "submitted"non
issue_datestringnon
currencystringnon
subtotal_centsintegernon
tax_centsintegernon
total_centsintegernon
buyer_namestringnon
buyer_tinstringnon
invoice_datastringnon
reference_invoice_idstringnon
lhdn_uuidstringnon
lhdn_long_idstringnon
lhdn_submitted_atintegernon
idstringouiThe myinvois_invoice id to record the LHDN UUID against (myinvois_invoice_list shows them).

myinvois_invoice_read

Read one sealed e-invoice by id, with its portal_field_sheet: the document's values laid out to key into the LHDN MyInvois portal form (e-invoice details, supplier, buyer, each line, totals), coded values with their meaning. Simpler never submits to LHDN; portal_field_sheet.portal_routes names the two portal routes (the online form and LHDN's Excel batch template). Refuses an id outside your tenant with NOT_FOUND: call myinvois_invoice_list for valid ids. NEXT: after the portal accepts it, myinvois_invoice_record_submission with the UUID it assigns.

ParamètreTypeRequisDescription
idstringouiThe myinvois_invoice id.

quote_create

ONE call creates the whole document: client_name + `items` [{description, quantity, unit_price}], each price as written ("5000.00"). It claims the next atomic quote number and writes every line together; client_name finds or creates the client. tax_scheme sg_gst or my_sst taxes each line by its tax_code (refusals: see tax_scheme). When present, the second content block is the quote as copy-ready text, shown with a Copy button where the host draws MCP Apps; if the user says they cannot see the quote, give them that block word for word; make a client link with quote_share only when the user asks for one. NEXT: quote_convert to turn the quote into its invoice.

ParamètreTypeRequisDescription
client_idstringnon
quote_numberstringnon
statusenum: "draft" | "sent" | "accepted" | "declined" | "converted"non
issue_dateintegernon
valid_untilintegernon
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …non
tax_rate_bpsintegernon
notesstringnon
converted_invoice_idstringnon
tax_schemeenum: "sg_gst" | "my_sst" | "none"nonsg_gst (Singapore GST) or my_sst (Malaysia SST): each line is taxed by its tax_code at the rate in force on the issue date. Under a scheme, a tax_rate_bps other than that rate, an unknown tax_code and a my_sst line without one are refused, naming the valid codes and the rate's source. "none" = no s…
prices_include_taxbooleannontrue = unit prices already include the tax (the tax is worked back out of each line). Default false. Needs a tax_scheme.
itemsarray<object>nonONE call creates the whole document — each line's unit_price is its price exactly as written, a decimal string ("5000.00" for $5,000), and the platform stores the cents itself; or send unit_price_cents in integer CENTS ($15.00 → 1500). quantity takes up to 3 decimals (1.5 hours → 1.5); unit is an o…
line_itemsarray<object>nonAlias of items.
client_namestringnonClient by NAME — resolves to an existing client or creates one (no client_id lookup needed).
forcebooleannonConfirms a create whose notes or single line item read like a payment RECEIVED or a write-off rather than a new bill — resend the SAME call with force:true to create it anyway. No effect on quote_create (the intent trap is invoice-only).

quote_convert

Converts a quote into its invoice in ONE call: claims the quote's 'converted' status first (so a lost race never creates an orphan invoice), copies every live line item across, and records converted_invoice_id — nothing else to do afterward. Refuses if the quote is already converted (the error carries converted_invoice_id) or declined (revive it with quote_update first), and refuses with nothing converted when the quote or its lines changed while it was converting (for example a quote_item call running at the same time): read the quote again with quote_read, then convert. NEXT: invoice_read on the new invoice.

ParamètreTypeRequisDescription
client_idstringnon
quote_numberstringnon
statusenum: "draft" | "sent" | "accepted" | "declined" | "converted"non
issue_dateintegernon
valid_untilintegernon
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …non
tax_rate_bpsintegernon
notesstringnon
converted_invoice_idstringnon
tax_schemeenum: "sg_gst" | "my_sst"non
prices_include_taxintegernon
idstringouiThe quote id (quote_list shows them).
quote_idstringnonAlias of id.

settlement_proposal_propose_cross_tenant

Record a payment obligation against a KYB-verified partner tenant's settlement_proposals — the record-don't-move on-ramp: this writes the row only, no money moves until a later settlement-rails door executes it. amount_cents is a nonzero integer CENTS (positive = you owe them, negative = a refund/reversal record) and currency must be a 3-letter code. Requires the payee's cross_tenant_settlement consent grant and both sides KYB-approved; payee-side failures refuse identically to block probing, but your OWN unapproved KYB answers distinctly. Your tenant is injected as payer_tenant_id and cannot be spoofed. NEXT: settlement_proposal_accept moves it to accepted on the payee side.

ParamètreTypeRequisDescription
payer_tenant_idstringnon
consent_grant_idstringnon
amount_centsintegernon
currencystringnon
descriptionstringnon
related_entity_typestringnon
related_entity_idstringnon
statusenum: "proposed" | "accepted" | "settled"non
accepted_atintegernon
to_tenant_idstringouiThe payee tenant id — must be another tenant, never your own. The payee must hold an active cross_tenant_settlement consent grant and both tenants must be KYB-approved, or the door refuses uniformly without revealing which condition failed.

sticky_note_create

Create a sticky_note.

ParamètreTypeRequisDescription
contentstringoui
colorenum: "amber" | "rose" | "verdigris" | "sky" | "onyx"non
position_xintegernon
position_yintegernon
triggers_atintegernon
z_indexintegernon
widthintegernon
heightintegernon

stock_item_adjust

Move stock in or out by id or item name, in one atomic write with its movements-ledger row: stock-out clamps at zero (never negative) and applied_quantity reports what actually moved. An unmatched name CREATES the item at quantity 0 first so the delivery still lands as an audited ledger row; a name matching multiple active items refuses with the candidate ids. Concurrent adjusts on the same item retry instead of losing a write. NEXT: stock_item_list to see the item's updated balance in the full inventory.

ParamètreTypeRequisDescription
namestringnonNo id? Resolve-or-create by item name: a unique active match resolves; an unknown name CREATES the item at quantity 0 and the adjustment lands as its first ledger row.
quantityintegerouiWhole units — count whole units: 24 bags → 24 (the digit string "24" also works).
unitstringnon
low_stock_thresholdintegernon
cost_per_unit_centsintegernon
sell_price_centsintegernon
categorystringnon
expiry_datestringnon
notesstringnonFree-form note recorded on the movements-ledger row.
is_activeintegernon
idstringnonThe stock item id.
item_namestringnonAlias of name.
typestringoui"in" | "out" — also accepts received/delivery/restock (→ in) and sold/used (→ out).
reasonstringnonWhy the stock moved — recorded on the movements-ledger row.
occurred_atstringnonWhen the stock ACTUALLY moved (business time): "YYYY-MM-DD" or epoch milliseconds. Omitted = now. Backdated deliveries stay distinguishable from entry time.

team_assignment_create

[REQUIRES APPROVAL] Delegates a task to a teammate (or yourself) as a new team_assignment; status is workflow-owned and always starts 'pending' — passing status yourself fails validation instead of being silently overridden. Accepts natural language for the common fields: task_name/task for title, due_date/due for due_at ('YYYY-MM-DD', epoch millis, 'today', 'tomorrow', or 'next '), and 'self'/'me'/'yourself' for assigned_to. assigned_to must already be a member of your tenant. NEXT: team_assignment_accept, then _start and _complete, drive the lifecycle from there.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
task_namestringnonAlias of title — the task's name in plain language.
taskstringnonAlias of title (same as task_name).
due_datestringnonAlias of due_at — "YYYY-MM-DD", "today", "tomorrow", or "next " (epoch milliseconds also works — pass it via due_at directly instead).
duestringnonAlias of due_at (same accepted forms as due_date).

workflow_create

Create a workflow — an AI operator's job: validates definition_json (a { nodes, edges, schedule? } graph) against the platform's node vocabulary, refusing unknown node types and any comms/message-shaped step that isn't a prepare_output node, since the platform prepares outputs but never sends them. trigger_type 'schedule' requires a schedule block; next_run_at is then computed server-side from it, never from a caller value. is_active defaults to 0 (draft) — going live is a separate explicit choice. NEXT: workflow_update to fix a rejected definition or flip is_active.

ParamètreTypeRequisDescription
namestringnon
descriptionstringnon
role_namestringnon
definition_jsonstringnon
trigger_typeenum: "manual" | "webhook" | "schedule"non
is_activeintegernon
next_run_atintegernon
imported_fromstringnon

workflow_prepared_outputs

List this tenant's APPROVED prepared outputs: drafts a workflow's prepare_output nodes parked for review, which a human then approved in the platform inbox. Pending and rejected drafts never appear here — approval happens only in the inbox, never through this call. Optional limit 1-100 (default 50), newest-decided first. This is the platform-prepares-never-sends handoff: the desktop harness pulls approved drafts here and sends them locally.

ParamètreTypeRequisDescription
namestringnon
descriptionstringnon
role_namestringnon
definition_jsonstringnon
trigger_typeenum: "manual" | "webhook" | "schedule"non
is_activeintegernon
next_run_atintegernon
imported_fromstringnon
limitintegernonMax rows to return, 1-100 (default 50). Out-of-range or non-integer values fall back to 50.

ai.budget

Your prepaid wallet, period spend, caps, and runway as a compact line DSL (~8 lines). Requires auth (your balance is closed data). Read this BEFORE committing paid actions; pair with ai.estimate_cost to price a specific call first.

Aucun paramètre.

ai.estimate_cost

Price an AI task BEFORE running it: provider passthrough at wholesale cost, no markup — the per-token platform fee is retired, so text/reasoning passes through at cost. Anonymous — open catalog includes open pricing. Returns integer micro-USD plus a USD total. NEXT: run the action, then ai.budget to watch the runway.

ParamètreTypeRequisDescription
taskstringouiA token-billed task name from the platform task→model map (e.g. 'assistant.ask').
tokens_inintegernonEstimated input tokens (default 1000).
tokens_outintegernonEstimated output tokens (default 500).

sales_receivables

Who owes you, by client: each client's unpaid balance aged by days past its due date — current (not yet due), 1-30, 31-60, 61-90 and over 90 days — counted in the business's own days (the sales_settings time zone), so an invoice due today is still current. Only issued invoices with a balance left count: drafts, cancelled, paid, written-off and fully credited invoices never do. Money is integer CENTS in each invoice's own currency: one row per client per currency, and totals has one row per currency, never converted or added across currencies; read the figures as given, never multiply or divide them yourself. Clients come oldest past-due first. Optional client_id ages one client; an id that is not one of your clients is refused NOT_FOUND (find it with invoice_client_search or invoice_client_list). A limit outside 1-200 is refused VALIDATION_ERROR (leave it out for 50; totals always cover every client). NEXT: invoice_list with state 'overdue' lists the past-due invoices themselves.

ParamètreTypeRequisDescription
client_idstringnonOne client's id, from invoice_client_search or invoice_client_list. Leave out to age every client.
limitintegernonMost client rows to return, 1-200 (default 50). totals always cover every client; truncated says whether rows were left out.

sales_document_show

Show one invoice, quote or receipt as the document itself. When the result has a second content block, it is the document as copy-ready plain text (title, business, billed to, dates, one line per item, the totals as printed, notes, payment terms and details, or on a receipt the day paid and the method) to paste into an email or a chat, and hosts that draw MCP Apps show the page with a Copy button. A paid invoice shows as its receipt, and each payment has its own numbered receipt (the receipt_number invoice_payment_record answers, for example RCT-2026-001), shown by that number or the payment id. Pass id or number (exactly one, from invoice_list, quote_list or invoice_payment_list); kind 'invoice', 'quote' or 'receipt' is optional (else invoice first, then quote, then receipt). It sends nothing and makes no link. Refusals: unknown id or number NOT_FOUND (a removed payment's receipt: reason_code SIMPLER_SALES_RECEIPT_VOID); a missing or doubled id/number or another argument VALIDATION_ERROR; kind 'receipt' before receipts are set up SERVICE_UNAVAILABLE SIMPLER_SALES_RECEIPT_UNMIGRATED; stylesheet unreadable SERVICE_UNAVAILABLE SIMPLER_SALES_DOCUMENT_CHAT_ASSETS_UNAVAILABLE (retry_after); not read within 3 seconds SERVICE_UNAVAILABLE SIMPLER_SALES_DOCUMENT_SHOW_SLOW (call again after retry_after). Read-only tokens and viewers may call it. Free.

ParamètreTypeRequisDescription
idstringnonThe invoice's or quote's id (invoice_list, quote_list or the create result), or a payment's id for its receipt (invoice_payment_list).
numberstringnonThe document's number as printed, for example 'INV-2026-016' or a receipt's 'RCT-2026-001'. Send id or number, not both.
kindenum: "invoice" | "quote" | "receipt"non'invoice', 'quote' or 'receipt' (one payment's numbered receipt). Leave out to try invoice, then quote, then receipt.

invoice_message_prepare

Prepare what a business sends a client about one issued invoice: purpose 'invoice', 'reminder' (overdue), 'receipt' (paid in full) or 'promise_follow_up' (promised date passed); left out, the one that fits. language 'en', 'ms' or 'zh'; left out, the client's (invoice_client_update message_language), else English. Returns to, subject, body, share_text, a mailto and link_on; share_url only for a member or above with a live link (never made here). NOTHING IS SENT. Refusals (CONFLICT): draft SIMPLER_SALES_MESSAGE_NOT_ISSUED (issue it with invoice_update status 'sent'); cancelled; written off; SIMPLER_SALES_MESSAGE_PURPOSE_UNFIT (send its next_call). Other arguments: VALIDATION_ERROR. Free.

ParamètreTypeRequisDescription
idstringouiThe invoice's id, from invoice_list or invoice_read.
purposeenum: "invoice" | "reminder" | "receipt" | "promise_follow_up"non'invoice' sends the invoice, 'reminder' asks for payment, 'receipt' thanks the client once it is paid in full, 'promise_follow_up' asks when to expect a payment the client promised by a date that has passed (invoice_promise_set). Leave out to get the one that fits the invoice's state.
languageenum: "en" | "ms" | "zh"non'en' English, 'ms' Bahasa Melayu, 'zh' Chinese. Leave out to use the client's message_language (English when none is set).

invoice_reminders_due

Today's collection list, in the business's days (its sales_settings time zone). reminders: each issued invoice still owed that is 3 days before its due date, on it, or 7 or 14 days after, as its client's reminder_cadence allows (standard, from_due, overdue_only or off; set it with invoice_client_update), with the amount owed in CENTS, the step, the language and next_call (the invoice_message_prepare call). A step shows only on its own day. issues: drafts the recurring run made, each with the invoice_update call that issues it; recurring_held: due templates it could not make, and why. NOTHING IS PREPARED OR SENT. Any argument is refused VALIDATION_ERROR (it takes none). Free; changes nothing.

Aucun paramètre.

statement_prepare

A client's statement of account over a period of the business's own days (the sales_settings time zone): the balance they owed before it (opening), each invoice issued, payment received, credit and write-off in it with a running balance, the balance at its end (closing), and what was still owed at its end aged current / 1-30 / 31-60 / 61-90 / over 90 days past due, counted as sales_receivables counts. Only issued invoices count: drafts and cancelled invoices never do. Money is integer CENTS in each invoice's own currency, one section per currency, never converted or added across currencies; read the figures as given. It prepares nothing and sends nothing: returns the figures, document_path (the print-ready page, while signed in) and pdf_next_call (the statement_pdf call that makes the PDF). A statement with more than 150 rows lists its first rows, whole business days only, and lines_cut says which and gives the next_call that lists the rest; the balances, totals and ageing always cover the whole period. When the result has a second content block, it is the statement as copy-ready text (a very long one shortened), and hosts that draw MCP Apps show the statement with a Copy button, as plain text when it is too long to draw as a document. Refusals: a client_id that is not one of your clients is NOT_FOUND (find it with invoice_client_search or invoice_client_list); a date not written YYYY-MM-DD, a to after today, a from after to, or a period longer than 366 days is VALIDATION_ER…

ParamètreTypeRequisDescription
client_idstringouiThe client's id, from invoice_client_search (by name) or invoice_client_list.
fromstringnonFirst day of the period, YYYY-MM-DD in the business's time zone. Default: the first day of the month of to.
tostringnonLast day of the period, YYYY-MM-DD in the business's time zone, today at the latest. Default: today.

invoice_handoff

Get one issued invoice ready to give the client, in one call: the document, the client link (made if it has none), the PDF (printed or the stored one) and the prepared message (invoice_message_prepare's words, with the link). ready lists the parts made; missing gives each other part's reason_code, reason and next_call. A turned-off link is never re-issued: invoice_share action 'rotate' waits for the owner's approval. NOTHING IS SENT. Refusals (CONFLICT): draft SIMPLER_SALES_MESSAGE_NOT_ISSUED (issue it with invoice_update status 'sent'); cancelled; written off; SIMPLER_SALES_MESSAGE_PURPOSE_UNFIT (send its next_call). Read-only token or viewer: FORBIDDEN. Free.

ParamètreTypeRequisDescription
idstringouiThe invoice's id, from invoice_list or invoice_read.
purposeenum: "invoice" | "reminder" | "receipt" | "promise_follow_up"nonThe message's purpose: 'invoice', 'reminder', 'receipt' or 'promise_follow_up' (a promised payment date has passed). Leave out to get the one that fits the invoice's state.
languageenum: "en" | "ms" | "zh"nonThe message's language: 'en', 'ms' or 'zh'. Leave out to use the client's message_language (English when none is set).

forecast.run

WHAT-IF / scenario lane: runs monthly data YOU supply through a seeded 5,000-path simulation of monthly revenue and costs; bands are simulation outputs, not calibrated probabilities. The paths are clustered into 3-7 outcome bands for the next 6 months, with per-month revenue and cost percentiles and deathRisk, the share of paths the engine marks closed (a distress signal, not a cash-out date). Amounts are in currency (major units, default USD): 1500 or "1500.00" - never cents. currency is one of 16 codes (USD, EUR, GBP, JPY, CNY, AUD, HKD, INR, SGD, MYR, IDR, THB, PHP, VND, BND, MMK); leave it out and USD is assumed, and the output says currency_assumed: true. The engine runs in USD; every output figure converts back into currency at fx_rate_to_usd (USD per 1 unit), named in the top-level currency field. Send cash_balance (the bank balance, negative for an overdraft) with cash_as_of (its date, YYYY-MM-DD, within 45 days) and the cash block adds runway, cash-out share, lowest balance and health from that balance plus each path's revenue minus costs (balance_source 'request'); without them it carries net-flow figures only and its next_step says what to send. Send declared_totals {revenue, costs}, the totals your own source shows for the months sent, and the sums are checked on the server; totals_check echoes them. history_months, shallow (true under 5 months) and blend {yours_pct, peers_pct} (null when shallow) say how much of the result is your own history. Earlier releases r…

ParamètreTypeRequisDescription
monthlyDataarray<object>oui2-120 monthly rows, oldest first: { date: 'YYYY-MM', revenue, costs, customers? }. revenue and costs are amounts in currency (major units, default USD): 1500 or "1500.00" - never cents.
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …nonThe currency of every amount sent, one of 16 codes. Leave it out for USD; the output then says currency_assumed: true.
cash_balancenumbernonOptional: the bank balance on cash_as_of in currency (major units, negative for an overdraft). Send it with cash_as_of.
cash_as_ofstringnonOptional: the date of cash_balance as YYYY-MM-DD, within the last 45 days. Send it with cash_balance.
declared_totalsobjectnonOptional: the revenue and costs totals your own source shows for the months sent, in currency. A total more than 0.5% away from the months' sum refuses with SIMPLER_FORECAST_GRID_TOTALS_MISMATCH.
driversarray<object>nonOptional: at most 20 what-if drivers, applied to the same simulated paths as the base.
cash_currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …nonOptional: the currency of cash_balance when it is not currency. Send it with cash_balance and cash_as_of.
open_receivablesarray<object>nonOptional: invoices your own accounting system shows unpaid, at most 2,000 rows (more refuses with SIMPLER_FORECAST_AGENT_INPUT_TOO_LARGE). Each is paid on the receipt-timing curve from its due date.
paid_historyarray<object>nonOptional: invoices already paid, at most 5,000 rows (more refuses with SIMPLER_FORECAST_AGENT_INPUT_TOO_LARGE). The receipt-timing curve learns from the days between due_date and paid_at; with no paid history at all the labelled prior times every receivable (source 'prior').
open_payablesarray<object>nonOptional: bills you owe, at most 2,000 rows (more refuses with SIMPLER_FORECAST_AGENT_INPUT_TOO_LARGE). Each is paid on its due date (one already due is paid on the first modelled day).
recurringarray<object>nonOptional: repeating money, at most 100 rows (more refuses with SIMPLER_FORECAST_AGENT_INPUT_TOO_LARGE). direction out leaves on each date; direction in falls due on each date and is paid on the receipt-timing curve, like a receivable.
cash_onstringnonOptional, with any of open_receivables, paid_history, open_payables or recurring: a date YYYY-MM-DD inside the 13 weeks; needs cash_balance and cash_as_of within 31 days. The answer adds that day's end-of-day balance.

forecast.run_stored

Run the tenant's REAL forecast from the books — cash receipts (recorded invoice payments by payment date, plus paid invoices with no recorded payment at their paid date, flagged) and expenses by expense date, monthly in the tenant's base currency, up to the last complete month (the current month is left out; months are the business's calendar months in its own time zone, set in sales settings, Asia/Singapore when unset, and the books block names it in bucket_timezone) and at most 36 months — through the one import pipeline. The result is STORED, replacing the forecast every member reads, so it is owner or admin only: any other role is refused with FORBIDDEN SIMPLER_FORECAST_IMPORT_ROLE_REFUSED before anything is read, saved, run or charged (ask an owner or admin to run it; forecast.read reads the forecast already stored). No arguments are needed. Optional cash_balance (the bank balance in cash_currency, negative for an overdraft), cash_currency (one of 16 codes) and cash_as_of (its date, YYYY-MM-DD) go together: they are saved as the workspace's declared bank balance, replacing the balance entered before, and then the forecast runs and starts its cash block from that balance. When more than one bank account is saved on the Forecast page, it refuses with CONFLICT SIMPLER_FORECAST_CASH_MULTI_ACCOUNT_REFUSED before anything is saved or run, because one balance would replace them all: ask the owner or an admin to update the balances on the Forecast page, or call without the thre…

ParamètreTypeRequisDescription
cash_balancenumbernonOptional: the bank balance on cash_as_of in cash_currency (major units, negative for an overdraft). Send cash_balance, cash_currency and cash_as_of together; owner or admin only. Refused with SIMPLER_FORECAST_CASH_MULTI_ACCOUNT_REFUSED when more than one bank account is saved: update those on the F…
cash_currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …nonThe currency of cash_balance.
cash_as_ofstringnonThe date of cash_balance as YYYY-MM-DD.

forecast.read

Read the tenant's STORED forecast — the verify-read for this rail. view picks the answer, one of summary, monthly, variance, scenarios, weekly (default summary). summary: the outcome bands (label, growth_direction, probability_pct, final_month_revenue_low and _high, distress_risk_pct, path_count), the cash block, blend {yours_pct, peers_pct} (the share of the result from this business's own history versus businesses like it; null when shallow). monthly: per month revenue, costs and net at p10, p25, p50, p75 and p90 with distress_risk_pct, plus balance_p10 to balance_p90 and below_zero_cum_pct when a balance anchors the cash block, and the cash block. This release moved monthlyForecast out of the default answer into view 'monthly'. Every view carries view, dataMonths, history_months, shallow (true under 5 months of history) and CFO narration status, money formatted in the business's currency, named in the top-level currency field: the engine runs in USD and figures convert back at the rate pinned on the stored result (fx_rate_to_usd); before this release they were USD. Free. Refuses with VALIDATION_ERROR naming view when it is not in the list. The cash block is computed from a real bank balance plus each simulated path's revenue minus costs: with basis 'anchored' it carries provenance (the balance grade), balance_source ('statement': the latest balance on bank statements imported with banking.import_statement, used while under 31 days old in place of a typed balance for the s…

ParamètreTypeRequisDescription
viewenum: "summary" | "monthly" | "variance" | "scenarios" | "weekly"nonOne of summary, monthly, variance, scenarios, weekly; leave it out for summary.
driversarray<object>nonOptional, views scenarios and weekly only: at most 20 drivers in each of up to 3 sets, one flat list; weekly takes one set (no set field).
cash_onstringnonView weekly only: a date YYYY-MM-DD inside the 13 weeks; the answer adds that day's end-of-day balance.
open_receivablesarray<object>nonOptional, view weekly only, joined with the books' own for this answer: invoices your own accounting system shows unpaid, at most 2,000 rows (more refuses with SIMPLER_FORECAST_AGENT_INPUT_TOO_LARGE). Each is paid on the receipt-timing curve from its due date.
paid_historyarray<object>nonOptional, view weekly only, joined with the books' own for this answer: invoices already paid, at most 5,000 rows (more refuses with SIMPLER_FORECAST_AGENT_INPUT_TOO_LARGE). The receipt-timing curve learns from the days between due_date and paid_at; with no paid history at all the labelled prior ti…
open_payablesarray<object>nonOptional, view weekly only, joined with the books' own for this answer: bills you owe, at most 2,000 rows (more refuses with SIMPLER_FORECAST_AGENT_INPUT_TOO_LARGE). Each is paid on its due date (one already due is paid on the first modelled day).
recurringarray<object>nonOptional, view weekly only, joined with the books' own for this answer: repeating money, at most 100 rows (more refuses with SIMPLER_FORECAST_AGENT_INPUT_TOO_LARGE). direction out leaves on each date; direction in falls due on each date and is paid on the receipt-timing curve, like a receivable.

image.generate

[paid: $0.06/image max] Generate 1-3 images from a text prompt on the first lane that delivers, tried in order: google/nano-banana-2.1 via the Cloudflare AI catalog ($0.06/image), then @cf/black-forest-labs/flux-2-dev via Cloudflare Workers AI, only when the first lane is down ($0.00/image). Each lane settles its own price per delivered image, so an image never costs more than the first lane's price, the credit a call must have available before it runs; price.charged_micro_usd in the result is the actual charge. Nano Banana keeps printed words (signs, labels, posters) legible; for a product photo the owner already has, image.variation with the photo as reference keeps the real product. Each image is stored in this workspace's image library and returned as JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; never a provider link. A result with no download_url says why in download_url_unavailable. Refuses: VALIDATION_ERROR on an empty prompt (describe the image), INSUFFICIENT_CREDITS (add credits), SIMPLER_IMAGE_PROMPT_REFUSED names the label (sexual, minor, real_person or other_unsafe): rewrite the prompt without it, for example no real person's name or likeness; SIMPLER_IMAGE_PROMPT_CHECK_UNAVAILABLE (the safety check is down, nothing charged: retry later); SIMPLER_IMAGE_OUTPUT_FLAGGED (the output failed the content check and was refunded: change the prompt); SIMPLER_IMAGE_OUTPUT_SCAN_UNAVAILABLE (outputs cannot be checked right now, n…

ParamètreTypeRequisDescription
promptstringouiImage description (max 1500 chars).
widthnumbernonDesired width px (256-2048; sets the aspect ratio: the image comes out at about 2K on the long side at the nearest of 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16).
heightnumbernonDesired height px (256-2048; sets the aspect ratio with width).
countnumbernonNumber of images (1-3, default 1).
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

document.extract

Fetch a document from a URL, classify its type (personal/medical/business/unknown) with keyword + PII-pattern heuristics (documents containing actual PII data are NEVER business), and return extracted text capped at 100K chars. Free. STREAMING SUPPORTED: send Accept: text/event-stream for started/fetched/classifying/completed phases.

ParamètreTypeRequisDescription
document_urlstringouiPublic HTTPS URL (fetched server-side, 30s timeout; text/* formats classify, binary answers unknown).

template.list

Free. The media templates: product-shot (product shot), product-lifestyle (product in a real place), poster (promo poster), showcase-video (product video), explainer-voice (voice-over with captions), brand-mockup (brand mockups). Each entry says what it makes, what it delivers, its price, the models it runs on, an example_url of a real output, and its slots: the inputs template.run takes (name, kind, required, choices, default). Image slots take what image.variation takes: an image library asset_key, a public https URL or a data:image URL. NEXT: template.run with a template id and its slots.

Aucun paramètre.

spreadsheet.create_with_content

Create a spreadsheet in the user's library from CSV content in ONE call: the platform stores the bytes (honest text/csv) and registers the file row. Free — storage costs nothing; only AI lanes bill. Returns the file row including its id. Refuses: VALIDATION_ERROR when title or csv_content is empty (send both), VALIDATION_ERROR when csv_content is over 10 MB (split it into smaller files), NOT_FOUND when folder_id names no folder in this workspace (call spreadsheet_folder_list, or leave folder_id out), FORBIDDEN when your role is viewer or your token is read-only (ask the owner for the member role, or connect with the 'mcp' scope). Nothing is stored when it refuses. NEXT: spreadsheet_file_list to see the library.

ParamètreTypeRequisDescription
titlestringouiLibrary title for the file (≤255 chars).
csv_contentstringouiThe complete CSV content (first row = headers). At most 10 MB.
folder_idstringnonOptional spreadsheet_folder id to file it under.

agent_note_mark_read

Confirm receipt of a note in your cross-tenant agent_note inbox — the ONLY edit a recipient holds, moving status unread to read under the registry's transition guard. Idempotent: re-confirming an already-read note is a no-op, and the subject/body stay fixed forever so a recipient can never rewrite what the sender said. NEXT: agent_note_list to see the rest of the inbox.

ParamètreTypeRequisDescription
from_tenant_idstringnon
consent_grant_idstringnon
subjectstringnon
bodystringnon
related_entity_typestringnon
related_entity_idstringnon
statusenum: "unread" | "read"non
idstringouiThe agent_note id to confirm (agent_note_list shows your inbox).

agent_note_list

List your agent_note rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

agent_note_read

Read one agent_note by id.

ParamètreTypeRequisDescription
idstringouiThe agent_note id.

brand_assets_read

Read one brand_assets by id.

ParamètreTypeRequisDescription
idstringouiThe brand_assets id.

brand_assets_list

List your brand_assets rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

consent_grant_list

List your consent_grant rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

consent_grant_read

Read one consent_grant by id.

ParamètreTypeRequisDescription
idstringouiThe consent_grant id.

contact_create

Create a contact and, in the same call, log its first note and/or first interaction — the composite first-touch door. Children validate before the contact write; if the contact commits but a child then fails, the error names the contact's id plus the exact call to finish it, never a silent orphan. A contact with the same email or phone already in this tenant refuses with CONFLICT. NEXT: contact_upsert merges into an existing contact instead of creating a duplicate.

ParamètreTypeRequisDescription
namestringnon
companystringnon
emailstringnon
phonestringnon
addressstringnon
statusenum: "lead" | "contacted" | "qualified" | "customer" | "vip" | "inactive"non
sourceenum: "manual" | "import" | "invoice" | "sync"non
tagsstringnon
last_contact_atintegernon
notestringnonLog a first note in the SAME call — ONE call makes both.
notesstringnonAlias of note.
interactionobjectnonLog the first interaction in the same call: {type, summary, occurred_at?} — occurred_at takes "YYYY-MM-DD".
first_interactionobjectnonAlias of interaction.

contact_update

Update a contact you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe contact id.
namestringnon
companystringnon
emailstringnon
phonestringnon
addressstringnon
statusenum: "lead" | "contacted" | "qualified" | "customer" | "vip" | "inactive"non
sourceenum: "manual" | "import" | "invoice" | "sync"non
tagsstringnon
last_contact_atintegernon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

contact_delete

Delete a contact you own.

ParamètreTypeRequisDescription
idstringouiThe contact id.

contact_read

Read one contact by id.

ParamètreTypeRequisDescription
idstringouiThe contact id.

contact_list

List your contact rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

contact_search

Search your contact rows by text.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

contact_note_create

Add a note to a contact — the same door as the granular tool, extended only to accept contact_name, contact_email or contact_phone in place of contact_id. A name match must be unique: more than one hit refuses, listing the candidate ids; zero matches on every alias refuses with the runnable two-step call to create the contact first, then retry. NEXT: contact_upsert when no contact exists yet.

ParamètreTypeRequisDescription
contact_idstringnon
contentstringnon
contact_namestringnonNo contact_id handy? Resolves the contact by exact name — a unique match wins; ambiguity refuses with the candidate ids.
contact_emailstringnonResolves the contact by exact email when contact_id is absent.
contact_phonestringnonResolves the contact by exact phone when contact_id is absent.

contact_note_list

List your contact_note rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

contact_note_read

Read one contact_note by id.

ParamètreTypeRequisDescription
idstringouiThe contact_note id.

contact_note_delete

Delete a contact_note you own.

ParamètreTypeRequisDescription
idstringouiThe contact_note id.

desk_surface_create

Pins one widget or a saved artifact onto the operator's home canvas. kind='widget' requires widget_key from the shipped enum; kind='artifact' requires content_ref (an assistant artifact id) — the door enforces whichever pair the kind demands, since the schema alone cannot express it. Rows are private to the creating user, even though teammates share the same tenant. NEXT: desk_surface_list reads the current layout.

ParamètreTypeRequisDescription
kindenum: "widget" | "artifact"non
widget_keyenum: "calendar-money-month" | "fx-converter" | "from-ai-inbox" | "assignments" | "market-discovery" | "sticky-notes" | "quick-start" | "coin-flip" …non
content_refstringnon
xintegernon
yintegernon
wintegernon
hintegernon
z_indexintegernon

desk_surface_update

Moves, resizes, or restacks a surface already on the desk canvas — x/y/w/h/z_index are real column writes, not a layout cache. The surface's identity is frozen here: kind, widget_key, and content_ref never change through this door, only via delete then re-create. NEXT: desk_surface_list to find the id to move.

ParamètreTypeRequisDescription
kindenum: "widget" | "artifact"non
widget_keyenum: "calendar-money-month" | "fx-converter" | "from-ai-inbox" | "assignments" | "market-discovery" | "sticky-notes" | "quick-start" | "coin-flip" …non
content_refstringnon
xintegernon
yintegernon
wintegernon
hintegernon
z_indexintegernon
idstringouiThe desk_surface id (desk_surface_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at from a prior desk_surface_list/read. Mismatch returns CONFLICT — another tab already moved this surface.

desk_surface_read

Read one desk_surface by id.

ParamètreTypeRequisDescription
idstringouiThe desk_surface id.

desk_surface_list

List your desk_surface rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

desk_surface_delete

Delete a desk_surface you own.

ParamètreTypeRequisDescription
idstringouiThe desk_surface id.

edit_project_create

Create a canvas project from a Fabric.js toJSON serialization (canvas_json, required): every embedded data:image src is pulled out, hashed, and written to a tenant-scoped, content-addressed R2 key before the row is saved, so canvas_json never carries image bytes and identical images dedupe across projects. SVG, an unrecognized image type, an oversized embedded image, or a canvas still too large after externalization refuse the whole create — nothing is silently dropped. An optional thumbnail_data_url is externalized the same way into thumbnail_key; thumbnail_key and version are server-set and refuse if you pass them. NEXT: edit_project_update to autosave the same project as it changes.

ParamètreTypeRequisDescription
namestringnon
canvas_jsonstringnon
thumbnail_keystringnon
widthintegernon
heightintegernon
versionintegernon
thumbnail_data_urlstringnonOptional thumbnail as a data: URL (PNG/JPEG/WebP/GIF, max 2MB) — externalized into thumbnail_key the same way embedded canvas images are. Omit to skip thumbnail externalization (create: no thumbnail_key is set; update: the existing thumbnail_key is left unchanged).

edit_project_update

Save changes to an existing canvas project by id — the autosave door: send only the fields that changed (name, canvas_json, width, height, thumbnail_data_url), everything else on the row is left alone. A canvas_json you send goes through the same image-externalization and hygiene refusal as edit_project_create (embedded images become R2 keys; SVG, unrecognized types, oversized images, or a still-too-large canvas refuse the whole save). version is bumped by the door itself on every save and thumbnail_key is server-minted from thumbnail_data_url — both refuse if you pass them directly. NEXT: edit_project_read to confirm the saved version.

ParamètreTypeRequisDescription
namestringnon
canvas_jsonstringnon
thumbnail_keystringnon
widthintegernon
heightintegernon
versionintegernon
idstringouiThe edit_project id (edit_project_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.
thumbnail_data_urlstringnonOptional thumbnail as a data: URL (PNG/JPEG/WebP/GIF, max 2MB) — externalized into thumbnail_key the same way embedded canvas images are. Omit to skip thumbnail externalization (create: no thumbnail_key is set; update: the existing thumbnail_key is left unchanged).

edit_project_read

Read one edit_project by id.

ParamètreTypeRequisDescription
idstringouiThe edit_project id.

edit_project_list

List your edit_project rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

edit_project_delete

Delete a edit_project you own.

ParamètreTypeRequisDescription
idstringouiThe edit_project id.

expense_update

Edits an expense's own fields only — status and approval stamps refuse with VALIDATION_ERROR here since those are transitions (expense_submit, expense_approve, expense_reject, expense_reimburse). amount_cents, if changed, must stay integer CENTS. Only the expense's own creator may edit it, and content freezes once the row is 'pending', reimbursed, or approved by someone else — draft, rejected, and your own self-approved rows stay editable.

ParamètreTypeRequisDescription
vendorstringnon
amount_centsintegernon
currencystringnon
category_idstringnon
expense_dateintegernon
receipt_keystringnon
ocr_jsonstringnon
notesstringnon
tags_jsonstringnon
subtotal_centsintegernon
tax_amount_centsintegernon
tax_rate_bpsintegernon
tax_typeenum: "GST" | "SST" | "VAT" | "PPN"non
statusenum: "draft" | "pending" | "approved" | "rejected" | "reimbursed"non
submitted_atintegernon
approved_bystringnon
approved_atintegernon
rejection_reasonstringnon
rejected_atintegernon
reimbursed_atintegernon
recurrence_idstringnon
idstringouiThe expense id (expense_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

expense_delete

Deletes an expense you created — draft and rejected rows only. Pending, approved, and reimbursed rows are approval-trail records and refuse with CONFLICT (approval_locked: true), and the lock is pinned into the delete itself so a status change racing your read still refuses instead of silently deleting. NEXT: expense_reject it first (admin+) if it must leave the books.

ParamètreTypeRequisDescription
vendorstringnon
amount_centsintegernon
currencystringnon
category_idstringnon
expense_dateintegernon
receipt_keystringnon
ocr_jsonstringnon
notesstringnon
tags_jsonstringnon
subtotal_centsintegernon
tax_amount_centsintegernon
tax_rate_bpsintegernon
tax_typeenum: "GST" | "SST" | "VAT" | "PPN"non
statusenum: "draft" | "pending" | "approved" | "rejected" | "reimbursed"non
submitted_atintegernon
approved_bystringnon
approved_atintegernon
rejection_reasonstringnon
rejected_atintegernon
reimbursed_atintegernon
recurrence_idstringnon
idstringouiThe expense id (expense_list shows them).

expense_reject

Rejects a submitted expense claim — requires the admin or owner role, and only a 'pending' expense qualifies (CONFLICT otherwise). rejection_reason (up to 500 chars) is optional but records why; rejected is terminal and never counts as spend, so a corrected claim is a fresh expense_create, never a resubmit.

ParamètreTypeRequisDescription
vendorstringnon
amount_centsintegernon
currencystringnon
category_idstringnon
expense_dateintegernon
receipt_keystringnon
ocr_jsonstringnon
notesstringnon
tags_jsonstringnon
subtotal_centsintegernon
tax_amount_centsintegernon
tax_rate_bpsintegernon
tax_typeenum: "GST" | "SST" | "VAT" | "PPN"non
statusenum: "draft" | "pending" | "approved" | "rejected" | "reimbursed"non
submitted_atintegernon
approved_bystringnon
approved_atintegernon
rejection_reasonstringnon
rejected_atintegernon
reimbursed_atintegernon
recurrence_idstringnon
idstringouiThe expense id (expense_list shows them).

expense_reimburse

Marks an approved expense as paid out — restricted to the tenant owner because it moves real money, and only an 'approved' expense qualifies (CONFLICT otherwise). Stamps reimbursed_at, after which the row's content freezes unconditionally since the amount approved is the amount recorded as paid. Records the payout only — no funds move automatically.

ParamètreTypeRequisDescription
vendorstringnon
amount_centsintegernon
currencystringnon
category_idstringnon
expense_dateintegernon
receipt_keystringnon
ocr_jsonstringnon
notesstringnon
tags_jsonstringnon
subtotal_centsintegernon
tax_amount_centsintegernon
tax_rate_bpsintegernon
tax_typeenum: "GST" | "SST" | "VAT" | "PPN"non
statusenum: "draft" | "pending" | "approved" | "rejected" | "reimbursed"non
submitted_atintegernon
approved_bystringnon
approved_atintegernon
rejection_reasonstringnon
rejected_atintegernon
reimbursed_atintegernon
recurrence_idstringnon
idstringouiThe expense id (expense_list shows them).

expense_read

Read one expense by id.

ParamètreTypeRequisDescription
idstringouiThe expense id.

expense_list

List your expense rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

expense_search

Search your expense rows by text.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

expense_aggregate

Aggregate (count/sum) over your expense rows.

ParamètreTypeRequisDescription
functionenum: "count" | "sum"oui
propertystringnonRequired for sum: a declared numeric property of the entity.

expense_budget_create

Create a expense_budget.

ParamètreTypeRequisDescription
category_idstringnon
monthly_limit_centsintegeroui
currencystringnon
alert_at_pctintegernon
is_activeintegernon

expense_budget_update

Update a expense_budget you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe expense_budget id.
category_idstringnon
monthly_limit_centsintegernon
currencystringnon
alert_at_pctintegernon
is_activeintegernon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

expense_budget_delete

Delete a expense_budget you own.

ParamètreTypeRequisDescription
idstringouiThe expense_budget id.

expense_budget_read

Read one expense_budget by id.

ParamètreTypeRequisDescription
idstringouiThe expense_budget id.

expense_budget_list

List your expense_budget rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

expense_category_create

Adds a custom category to your tenant's category table — slug must be 1-50 chars of lowercase a-z, 0-9, '-' or '_' and unique per tenant (CONFLICT if taken). is_default is server-owned: supplying it at all refuses with VALIDATION_ERROR, and this door always creates with is_default 0 — the 9 seeded defaults exist only via expense_category_ensure_defaults. sort_order defaults to the next open slot when omitted.

ParamètreTypeRequisDescription
slugstringnon
namestringnon
iconstringnon
colorstringnon
sort_orderintegernon
is_defaultintegernon

expense_category_update

Edits a category's name, icon, color, or sort_order — slug and is_default are the category's fixed identity, and any attempt to change either refuses with VALIDATION_ERROR. color, when given, must be a #rrggbb hex value. Create a new category instead of trying to rename an existing slug.

ParamètreTypeRequisDescription
slugstringnon
namestringnon
iconstringnon
colorstringnon
sort_orderintegernon
is_defaultintegernon
idstringouiThe expense_category id (expense_category_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

expense_category_delete

Deletes a custom category — categories are tenant-shared, so any tenant member can remove one regardless of who created it; the 9 seeded defaults are undeletable and refuse with CONFLICT (default_category: true). Expenses already carrying the deleted category keep their category_id untouched and simply render as Uncategorized; nothing is reassigned or blocked.

ParamètreTypeRequisDescription
slugstringnon
namestringnon
iconstringnon
colorstringnon
sort_orderintegernon
is_defaultintegernon
idstringouiThe expense_category id (expense_category_list shows them).

expense_category_ensure_defaults

Seeds the 9 canonical default categories (Food & Dining, Transport, Utilities, Shopping, Entertainment, Healthcare, Travel, Office & Supplies, Other) into your tenant, skipping any slug that already exists. Takes no arguments and is safe to call repeatedly or concurrently — it converges rather than duplicating. NEXT: expense_category_list to see the result.

ParamètreTypeRequisDescription
slugstringnon
namestringnon
iconstringnon
colorstringnon
sort_orderintegernon
is_defaultintegernon

expense_category_read

Read one expense_category by id.

ParamètreTypeRequisDescription
idstringouiThe expense_category id.

expense_category_list

List your expense_category rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

expense_recurrence_create

Create a expense_recurrence.

ParamètreTypeRequisDescription
vendorstringoui
amount_centsintegeroui
currencystringnon
category_idstringnon
notesstringnon
frequencyenum: "daily" | "weekly" | "monthly" | "yearly"oui
day_of_monthintegernon
day_of_weekintegernon
next_dueintegeroui
is_activeintegernon
last_generated_atintegernon
total_generatedintegernon

expense_recurrence_update

Update a expense_recurrence you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe expense_recurrence id.
vendorstringnon
amount_centsintegernon
currencystringnon
category_idstringnon
notesstringnon
frequencyenum: "daily" | "weekly" | "monthly" | "yearly"non
day_of_monthintegernon
day_of_weekintegernon
next_dueintegernon
is_activeintegernon
last_generated_atintegernon
total_generatedintegernon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

expense_recurrence_delete

Delete a expense_recurrence you own.

ParamètreTypeRequisDescription
idstringouiThe expense_recurrence id.

expense_recurrence_read

Read one expense_recurrence by id.

ParamètreTypeRequisDescription
idstringouiThe expense_recurrence id.

expense_recurrence_list

List your expense_recurrence rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

interaction_upsert

Create-or-update a interaction keyed on source_ref.

ParamètreTypeRequisDescription
contact_idstringoui
interaction_typeenum: "meeting" | "call" | "email" | "message" | "visit" | "payment" | "other"oui
summarystringoui
occurred_atintegernon
source_refstringoui

interaction_list

List your interaction rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

interaction_read

Read one interaction by id.

ParamètreTypeRequisDescription
idstringouiThe interaction id.

invoice_update

Edits an invoice's header fields and status. status 'paid' cannot be set here — it derives from the payment ledger, so call invoice_payment_record instead. Status moves are machine-checked (draft to sent/cancelled, sent to cancelled); cancelled is terminal and a paid invoice never reopens by hand. A move to 'sent' stamps sent_at automatically when omitted, and currency is ledger-locked once any live payment exists. An agent's change to notes or payment_terms on an issued invoice waits for the owner's approval; on a draft it does not. tax_scheme and prices_include_tax are fixed at creation, as is the tax rate. NEXT: invoice_payment_record to settle money, invoice_read to verify.

ParamètreTypeRequisDescription
client_idstringnon
invoice_numberstringnon
statusenum: "draft" | "sent" | "paid" | "cancelled"non
issue_dateintegernon
due_dateintegernon
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …non
tax_rate_bpsintegernon
notesstringnon
payment_termsstringnon
source_typeenum: "quote" | "recurring" | "quick_sale"non
source_idstringnon
cash_saleintegernon
payment_methodenum: "cash" | "transfer" | "ewallet" | "other"non
sent_atintegernon
paid_atintegernon
tax_schemeenum: "sg_gst" | "my_sst"non
prices_include_taxintegernon
fx_rate_to_sgd_ppmintegernon
fx_rate_datestringnonThe date the fx rate is for, YYYY-MM-DD. Send with fx_rate_to_sgd.
idstringouiThe invoice id (invoice_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.
ready_to_sendbooleannonWhen the user wants to give the client a draft invoice (forward it, send it, get it ready): true issues it (status 'sent') and returns handoff, invoice_handoff's result: the client link, the PDF and the prepared message. Refused for a paid or cancelled invoice, or one with nothing owed. Nothing is…
fx_rate_to_sgdstringnonsg_gst invoices in a currency other than SGD: Singapore dollars per 1 unit of the invoice currency as a decimal string, up to 6 decimals ("1.3502"), from a source IRAS accepts (MAS, a local bank, Bloomberg, Reuters, Oanda) for the date of supply. Send with fx_rate_date. Or send fx_rate_to_sgd_ppm (…

invoice_share

Returns share_url, the client's view link for this invoice, and the full document (parties, lines, totals in integer CENTS) in one call. action: 'get' (default) returns the live link; 'rotate' replaces it and the old link stops working; 'revoke' turns it off. A link the owner turned off stays off for agents: 'get' never re-issues it, and an agent's 'rotate' waits for the owner's approval. Anyone with the link can open the page until the invoice is cancelled or 90 days after payment (see link_serving). There is no PDF file yet; the link opens a print-ready page the client can print or save as PDF. Nothing is sent: give the link to the owner, who decides whether it goes to the client.

ParamètreTypeRequisDescription
idstringouiThe invoice id (invoice_list shows them).
invoice_idstringnonAlias of id.
actionenum: "get" | "rotate" | "revoke"nonget (default): the live link, made the first time. rotate: replace it with a new link; the old one stops working. revoke: turn the link off.
fresh_afterintegernonOmit it. Only when an error's next_call includes fresh_after, send that call exactly as given.

invoice_payer_confirmation

Acts on a payer's report, sent from the invoice's client page, that they have paid. action 'accept' records the payment with the same writer as invoice_payment_record, graded counterparty_confirmed: the amount is amount_cents (or amount) when given, else the balance still owed; occurred_at defaults to when the payer reported. An agent's accept waits for the owner's approval. action 'dismiss' closes a report whose money did not arrive. Find reports in invoice_read's payer_confirmations. Refuses a report already accepted or dismissed with CONFLICT (invoice_read shows it), and an invoice with nothing owed unless amount_cents comes with allow_overpayment. Nothing is sent to the payer.

ParamètreTypeRequisDescription
actionenum: "accept" | "dismiss"ouiaccept: record the payment the payer reported. dismiss: the money did not arrive.
idstringnonThe confirmation id from invoice_read's payer_confirmations.
invoice_idstringnonInstead of id: the invoice, when exactly one report on it is pending.
amount_centsintegernonaccept only: the amount received in integer CENTS. Omit it to record the balance still owed.
amountstringnonaccept only: the amount as a decimal STRING ("250.00") instead of amount_cents.
methodenum: "cash" | "transfer" | "ewallet" | "other"nonaccept only: how the money arrived.
occurred_atintegernonaccept only: epoch milliseconds the money arrived. Omit it to use the time the payer reported.
notestringnonaccept only: your own note on the payment (max 500).
forcebooleannonaccept only: confirms a genuine second payment of the same amount on the same day.
allow_overpaymentbooleannonaccept only: record more than the balance still owed.

invoice_debit_note

[REQUIRES APPROVAL] Issues a numbered debit note that raises what an issued ('sent' or 'paid') invoice is owed: an extra charge, or a price or tax correction. It is numbered from the debit note series and adds amount_cents (or a decimal STRING amount), tax at the invoice's rate inside, in its currency; a 'paid' invoice goes back to 'sent' until the rest is paid. Refuses a draft (change its lines instead), a cancelled invoice, an invoice with no lines, another currency, and a paid invoice with no payment recorded (record it first with invoice_payment_record); every refusal names the call to send. Never deleted: undo one with a credit_note. An agent's call parks for approval. Nothing is sent. NEXT: invoice_read.

ParamètreTypeRequisDescription
invoice_idstringnonThe invoice the debit note raises (invoice_list shows ids); its invoice_number works too.
invoice_numberstringnonAlias of invoice_id — the invoice's own number.
amount_centsintegernonThe amount the debit note adds, in integer CENTS.
amountstringnonThe amount as a decimal STRING ("25.00") instead of amount_cents — never convert units yourself.
debit_kindenum: "additional_charge" | "price_correction" | "tax_correction" | "other"nonWhat the debit note is for. Omit it for additional_charge.
reasonstringnonWhy the customer owes more, as the debit note prints it (max 500).
occurred_atintegernonEpoch milliseconds the debit note takes effect. Omit it for now.
currencystringnonMust be the invoice's own currency; omit it to use that currency.

invoice_reissue

Voids a 'sent' invoice with no money on it and reissues it under the next number: 'sent', dated today, same client, currency, notes, terms and lines, tax on today's rules, the old days to pay unless due_date is sent. A foreign-currency sg_gst invoice issued before today needs fx_rate_to_sgd and fx_rate_date for today unless its rate is dated today. The old one is cancelled, its client link stops working, both trails link them. Paid, part-paid, credited or written-off invoices refuse: correct them with a credit note (invoice_adjustment_record). When present, the second content block is the new invoice as copy-ready text. Nothing is sent. NEXT: invoice_share only if the user asks for a link.

ParamètreTypeRequisDescription
idstringnonThe invoice to cancel and issue again (invoice_list shows ids); its invoice_number works too.
invoice_numberstringnonAlias of id — the invoice's own number.
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. A mismatch returns CONFLICT and changes nothing.
due_dateintegernonEpoch milliseconds of the new due date, today or later. Omit it to give the new invoice the old one's days to pay, counted from today.
reasonstringnonWhy the invoice is reissued, kept in both invoices' activity (max 500).
fx_rate_to_sgdstringnonsg_gst invoices in a currency other than SGD: Singapore dollars per 1 unit of the invoice currency for today, the new invoice's date of supply ("1.3502", up to 6 decimals, from MAS, a local bank, Bloomberg, Reuters or Oanda). Send with fx_rate_date. Needed when the invoice was issued before today a…
fx_rate_to_sgd_ppmintegernonfx_rate_to_sgd in millionths (1.3502 → 1350200), instead of fx_rate_to_sgd. Send with fx_rate_date.
fx_rate_datestringnonThe date the fx rate is for, YYYY-MM-DD. Send with fx_rate_to_sgd.

invoice_promise_set

Records the date a client promised to pay an issued invoice that still has money owed: promised_payment_date 'YYYY-MM-DD', the business's own date, today or later. clear true removes it. invoice_read then shows promise_status: pending until that business day ends, kept when paid in full by then, broken after it. A broken promise makes promise_follow_up the default purpose of invoice_message_prepare. Each change is kept in the invoice's activity as promise_set. Refuses a draft, a cancelled invoice and one with nothing owed (CONFLICT), and a past or malformed date (VALIDATION_ERROR). Nothing is sent. NEXT: invoice_read.

ParamètreTypeRequisDescription
idstringnonThe invoice the client promised to pay (invoice_list shows ids); its invoice_number works too.
invoice_numberstringnonAlias of id — the invoice's own number.
promised_payment_datestringnonThe business-local date the client promised to pay by, YYYY-MM-DD, today or later. Leave it out with clear true.
clearbooleannontrue removes the promised date instead of setting one.
notestringnonWhat the client said, kept in the invoice's activity (max 500).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. A mismatch returns CONFLICT and changes nothing.

invoice_read

Returns one invoice with its money and state worked out on read, in integer CENTS: subtotal_cents, tax_cents, total_cents, paid_cents, credited_cents, adjusted_cents, remaining_cents (copy remaining_cents, never compute it). state: draft, sent, partially_paid, overdue, written_off, paid or cancelled. Overdue means issued, still owed and due before today in the business time zone (sales_settings.timezone, unset = Asia/Singapore); days_overdue counts days there. activity lists the newest 50 events; viewed_count and last_viewed_at count every view. payer_confirmations lists the payer's "I've paid" reports. An unknown id refuses with NOT_FOUND: find it with invoice_list or invoice_search.

ParamètreTypeRequisDescription
idstringouiThe invoice id.

invoice_list

Lists your invoices, newest first (200 at most; pass limit and cursor to page). Every row carries the same worked-out money and state as invoice_read: total_cents, remaining_cents, state, is_overdue, days_overdue (integer CENTS, business days). To find what to chase, pass state 'overdue': only invoices issued, still owed and due before today in the business time zone come back. payer_confirmations_pending counts the payer's "I've paid" reports waiting on each row. Refuses an unlisted state, a limit outside 1-200 or a malformed cursor with VALIDATION_ERROR: resend with a listed state, without limit, or with next_cursor exactly as returned.

ParamètreTypeRequisDescription
stateenum: "draft" | "sent" | "partially_paid" | "overdue" | "written_off" | "paid" | "cancelled"nonOnly invoices in this worked-out state, still newest first and paged the same way. Leave it out for every invoice.
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

invoice_search

Finds invoices whose text fields (invoice number, notes, payment terms) contain every word of q. Rows carry the same worked-out money and state as invoice_read: total_cents, remaining_cents, state, is_overdue (integer CENTS), and payer_confirmations_pending. Refuses an empty q with VALIDATION_ERROR: send the invoice number, such as INV-2026-0001, or a word from its notes.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

invoice_adjustment_read

Read one invoice_adjustment by id.

ParamètreTypeRequisDescription
idstringouiThe invoice_adjustment id.

invoice_adjustment_list

List your invoice_adjustment rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

invoice_adjustment_delete

[REQUIRES APPROVAL] Retires a dilution fact row — the only correction lane (adjustments are append-only; amounts are never edited). If the retired row was a credit that settled the invoice, the status rolls from 'paid' back to 'sent' and paid_at clears; the remaining balance and the derived 'written_off' state re-derive from the live rows immediately. An agent's call parks here for human approval. NEXT: invoice_adjustment_record to re-record the correct amount.

ParamètreTypeRequisDescription
invoice_idstringnon
adjustment_typeenum: "credit_note" | "write_off" | "discount_post_issue" | "dispute_settlement"non
amount_centsintegernon
currencystringnon
reasonstringnon
occurred_atintegernon
reason_codeenum: "goods_returned" | "damaged_or_defective" | "pricing_error" | "discount" | "service_not_rendered" | "cancellation" | "other"non
credit_outcomeenum: "reduce_balance" | "refunded_outside"non
idstringouiThe adjustment id (invoice_adjustment_list shows them).
adjustment_idstringnonAlias of id.

invoice_client_create

Create a invoice_client.

ParamètreTypeRequisDescription
namestringoui
companystringnon
emailstringnon
phonestringnon
addressstringnon
notesstringnon
contact_idstringnon
reminder_cadenceenum: "standard" | "from_due" | "overdue_only" | "off"non
message_languageenum: "en" | "ms" | "zh"non

invoice_client_upsert

Create-or-update a invoice_client keyed on email.

ParamètreTypeRequisDescription
namestringoui
companystringnon
emailstringoui
phonestringnon
addressstringnon
notesstringnon
contact_idstringnon
reminder_cadenceenum: "standard" | "from_due" | "overdue_only" | "off"non
message_languageenum: "en" | "ms" | "zh"non

invoice_client_update

Update a invoice_client you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe invoice_client id.
namestringnon
companystringnon
emailstringnon
phonestringnon
addressstringnon
notesstringnon
contact_idstringnon
reminder_cadenceenum: "standard" | "from_due" | "overdue_only" | "off"non
message_languageenum: "en" | "ms" | "zh"non
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

invoice_client_delete

Delete a invoice_client you own.

ParamètreTypeRequisDescription
idstringouiThe invoice_client id.

invoice_client_read

Read one invoice_client by id.

ParamètreTypeRequisDescription
idstringouiThe invoice_client id.

invoice_client_list

List your invoice_client rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

invoice_client_search

Search your invoice_client rows by text.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

invoice_client_link_tenant

[REQUIRES APPROVAL] Asserts that a billing client IS an on-platform tenant (or pass counterparty_tenant_id null to unlink) and retro-stamps that client's existing invoices with the link in the same call — invoices_stamped in the result is the count. Linking requires the counterparty's 'cross_tenant_settlement' consent AND a live network relationship (an active match or a deal thread); unlinking passes neither gate, since it withdraws your own assertion rather than making a new one. NEXT: invoice_client_read to read back what linked.

ParamètreTypeRequisDescription
namestringnon
companystringnon
emailstringnon
phonestringnon
addressstringnon
notesstringnon
contact_idstringnon
reminder_cadenceenum: "standard" | "from_due" | "overdue_only" | "off"non
message_languageenum: "en" | "ms" | "zh"non
idstringouiThe invoice_client id (invoice_client_list shows them).
client_idstringnonAlias of id.
counterparty_tenant_idstringouiThe on-platform business this client IS (their tenant id). Pass null to unlink.

invoice_item_create

Adds one line item to an invoice. unit_price_cents is integer CENTS, 0 or more ($15.00 → 1500); quantity is 0.001 to 1,000,000 with up to 3 decimals (1.5 hours → 1.5); unit is an optional label (hr, kg); discount_bps is an optional line discount (10% → 1000). quantity × unit_price_cents is at most 10,000,000,000. Refuses a negative price (send discount_bps instead), a 'paid' parent (retire the payment first) and a 'cancelled' parent (issue a new invoice). Re-derives the invoice's paid/sent status. tax_code is the line's code under the document's tax_scheme, refused on a document without a scheme. NEXT: invoice_read to see the updated total.

ParamètreTypeRequisDescription
invoice_idstringnon
descriptionstringnon
quantitynumbernonHow many, up to 3 decimals (1.5 hours → 1.5). A new line defaults to 1.
unit_price_centsintegernon
positionintegernon
unitstringnon
discount_bpsintegernonOptional line discount in basis points: 10% → 1000, none → 0. A discount is never a lower or negative price.
tax_codeenum: "standard" | "zero_rated" | "exempt" | "out_of_scope" | "sales_10" | "sales_5" | "service_8" | "service_6"non

invoice_item_update

Edits a line item's description, quantity, unit, price or discount, or re-parents it to another invoice. expected_updated_at is required: the line's updated_at from your read; without it nothing is written and the refusal names the current value; a line changed since then answers CONFLICT. Bounds: unit_price_cents is integer CENTS, 0 or more; quantity 0.001 to 1,000,000 (3 decimals); discount_bps 0 to 10000; quantity × unit_price_cents at most 10,000,000,000. unit "" clears the unit. Refuses when the current or target invoice is paid or cancelled. tax_code is the line's code under the document's tax_scheme, refused on a document without a scheme. NEXT: invoice_read to see the updated total.

ParamètreTypeRequisDescription
invoice_idstringnon
descriptionstringnon
quantitynumbernonHow many, up to 3 decimals (1.5 hours → 1.5). A new line defaults to 1.
unit_price_centsintegernon
positionintegernon
unitstringnon
discount_bpsintegernonOptional line discount in basis points: 10% → 1000, none → 0. A discount is never a lower or negative price.
tax_codeenum: "standard" | "zero_rated" | "exempt" | "out_of_scope" | "sales_10" | "sales_5" | "service_8" | "service_6"non
idstringouiThe invoice_item id (invoice_item_list shows them).
expected_updated_atintegerouiRequired: the line's updated_at from your last read (invoice_item_read, invoice_item_list or the create answer). Left out, the call is refused and names the current value; a line changed since then returns CONFLICT with the current value and stays as it is.

invoice_item_delete

Soft-deletes a line item — it leaves the invoice and its derived total immediately, but the row is retired for audit history, never removed. expected_updated_at is required: the line's updated_at from your read (invoice_item_read); without it the removal is refused and the refusal names the current value. Refuses when the parent invoice is 'paid' (ledger-locked: retire the payment first) or 'cancelled' (terminal: its lines stay as issued), and with CONFLICT when the line changed since that read (read it again). If retiring the line settles the remaining balance on a partially-paid invoice, the parent re-derives to 'paid' by itself. NEXT: invoice_read to see the updated total.

ParamètreTypeRequisDescription
invoice_idstringnon
descriptionstringnon
quantityintegernon
unit_price_centsintegernon
positionintegernon
unitstringnon
discount_bpsintegernon
tax_codeenum: "standard" | "zero_rated" | "exempt" | "out_of_scope" | "sales_10" | "sales_5" | "service_8" | "service_6"non
idstringouiThe invoice_item id (invoice_item_list shows them).
expected_updated_atintegerouiRequired: the line's updated_at from your last read (invoice_item_read, invoice_item_list or the create answer). Left out, the call is refused and names the current value; a line changed since then returns CONFLICT with the current value and stays as it is.

invoice_item_read

Read one invoice_item by id.

ParamètreTypeRequisDescription
idstringouiThe invoice_item id.

invoice_item_list

List your invoice_item rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

invoice_payment_read

Read one invoice_payment by id.

ParamètreTypeRequisDescription
idstringouiThe invoice_payment id.

invoice_payment_list

List your invoice_payment rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

invoice_payment_delete

[REQUIRES APPROVAL] Retires a payment fact row — the only correction lane (payments are append-only; amounts are never edited). If retiring it un-settles the invoice, the reversal itself rolls the status from 'paid' back to 'sent' and clears paid_at. An agent's call parks here for a human to approve in the Simpler UI; a human's call is its own approval. NEXT: invoice_payment_record to re-record the correct amount.

ParamètreTypeRequisDescription
invoice_idstringnon
amount_centsintegernon
currencystringnon
occurred_atintegernon
methodenum: "cash" | "transfer" | "ewallet" | "other"non
notestringnon
idstringouiThe payment id (invoice_payment_list shows them).
payment_idstringnonAlias of id.

invoice_recurring_create

Create a invoice_recurring.

ParamètreTypeRequisDescription
client_idstringnon
titlestringoui
items_jsonstringoui
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …non
tax_rate_bpsintegernon
frequencyenum: "weekly" | "monthly" | "yearly"oui
day_of_monthintegernon
day_of_weekintegernon
next_dueintegeroui
is_activeintegernon
notesstringnon
last_generated_atintegernon
total_generatedintegernon
tax_schemeenum: "sg_gst" | "my_sst" | "none"non
ends_onintegernon
max_invoicesintegernon

invoice_recurring_update

Update a invoice_recurring you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe invoice_recurring id.
client_idstringnon
titlestringnon
items_jsonstringnon
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …non
tax_rate_bpsintegernon
frequencyenum: "weekly" | "monthly" | "yearly"non
day_of_monthintegernon
day_of_weekintegernon
next_dueintegernon
is_activeintegernon
notesstringnon
last_generated_atintegernon
total_generatedintegernon
tax_schemeenum: "sg_gst" | "my_sst" | "none"non
ends_onintegernon
max_invoicesintegernon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

invoice_recurring_delete

Delete a invoice_recurring you own.

ParamètreTypeRequisDescription
idstringouiThe invoice_recurring id.

invoice_recurring_read

Read one invoice_recurring by id.

ParamètreTypeRequisDescription
idstringouiThe invoice_recurring id.

invoice_recurring_list

List your invoice_recurring rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

invoice_recurring_skip

Skips a recurring template's next invoice: next_due moves one period on (the template's own weekly, monthly or yearly day) and no invoice is made. A skip does not count toward max_invoices. Refuses NOT_FOUND for an id outside your tenant (call invoice_recurring_list) and CONFLICT when the template has ended (raise ends_on or max_invoices with invoice_recurring_update) or changed since expected_updated_at (read it again). Each call skips one run: to skip the run after, send expected_updated_at from this answer. Nothing is sent. NEXT: invoice_recurring_read.

ParamètreTypeRequisDescription
idstringouiThe recurring template whose next invoice to skip (invoice_recurring_list shows ids).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. A mismatch returns CONFLICT and changes nothing.

market_signal_create

Post to one of the tenant's 8 market-signal wish-bar slots — a buy, sell, swap, capacity-offer or capacity-request visible ONLY to platform-matched partners, never the wider network. The door counts your OPEN signals server-side before writing: the 9th is refused with slots_used/slots_max in the error rather than silently queued. NEXT: market_signal_update to close or fulfil a signal and free a slot.

ParamètreTypeRequisDescription
signal_typeenum: "buy" | "sell" | "swap" | "capacity_offer" | "capacity_request"non
productstringnon
quantitystringnon
price_centsintegernon
currencystringnon
deadlineintegernon
locationstringnon
notesstringnon
statusenum: "open" | "fulfilled" | "closed"non

market_signal_update

Update a market_signal you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe market_signal id.
signal_typeenum: "buy" | "sell" | "swap" | "capacity_offer" | "capacity_request"non
productstringnon
quantitystringnon
price_centsintegernon
currencystringnon
deadlineintegernon
locationstringnon
notesstringnon
statusenum: "open" | "fulfilled" | "closed"non
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

market_signal_list

List your market_signal rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

market_signal_read

Read one market_signal by id.

ParamètreTypeRequisDescription
idstringouiThe market_signal id.

myinvois_customer_create

Register a buyer in the LHDN buyer registry so it attaches to future e-invoices with one pick (customer_id) instead of typing the party every time. Validates the TIN format, and validates state_code against the LHDN state table when you send one — a buyer with no real TIN uses the LHDN generic TIN (EI00000000010 Malaysian public, EI00000000020 foreign) instead. NEXT: myinvois_invoice_generate with customer_id.

ParamètreTypeRequisDescription
namestringnon
tinstringnon
brnstringnon
sst_numberstringnon
contact_numberstringnon
emailstringnon
addressstringnon
citystringnon
state_codestringnon
postal_codestringnon
country_codestringnon
notesstringnon

myinvois_customer_update

Edit a registered buyer's LHDN details — send only the fields you are changing. When tin is included it is re-checked against the same format gate create runs, and when state_code is included it is re-checked against the LHDN state table, so an edited buyer stays valid to generate against. Never touches e-invoices already generated for this buyer; each one sealed its own copy of the buyer party. NEXT: myinvois_customer_list to find the id.

ParamètreTypeRequisDescription
namestringnon
tinstringnon
brnstringnon
sst_numberstringnon
contact_numberstringnon
emailstringnon
addressstringnon
citystringnon
state_codestringnon
postal_codestringnon
country_codestringnon
notesstringnon
idstringouiThe myinvois_customer id (myinvois_customer_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at from a prior myinvois_customer_list/read. Mismatch returns CONFLICT with the current value.

myinvois_customer_delete

Delete a registered buyer. E-invoices already generated for this buyer keep their sealed copy of the buyer party and are never touched. Refuses an id outside your tenant with NOT_FOUND: call myinvois_customer_list for valid ids.

ParamètreTypeRequisDescription
idstringouiThe myinvois_customer id.

myinvois_customer_read

Read one registered buyer by id: name, TIN, BRN, SST number, address and contact. myinvois_invoice_generate seals the name, TIN, BRN, address and contact; the buyer's SST number stays on this record and is not sealed on the e-invoice. Refuses an id outside your tenant with NOT_FOUND: call myinvois_customer_list or myinvois_customer_search for valid ids. NEXT: myinvois_invoice_generate with this id as customer_id.

ParamètreTypeRequisDescription
idstringouiThe myinvois_customer id.

myinvois_customer_list

List registered buyers, newest first, to pick a customer_id for myinvois_invoice_generate. An empty list means none are registered yet: call myinvois_customer_create, or send an inline buyer {name, tin} to myinvois_invoice_generate instead.

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

myinvois_customer_search

Find registered buyers by text: every word must match one of the buyer's text fields, such as name, TIN, BRN, email or address. Refuses an empty q with VALIDATION_ERROR. No match returns an empty list: call myinvois_customer_create to register the buyer. NEXT: myinvois_invoice_generate with the id as customer_id.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

myinvois_invoice_list

List your myinvois_invoice rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

myinvois_invoice_search

Find generated e-invoices by text: every word must match one of the document's text fields, such as invoice number, buyer name or buyer TIN. Refuses an empty q with VALIDATION_ERROR. Rows carry no field sheet: call myinvois_invoice_read with the id for portal_field_sheet. No match returns an empty list: call myinvois_invoice_list to browse the newest.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

myinvois_settings_save

[REQUIRES APPROVAL] Save the one-time LHDN supplier profile — the door checks for an existing row on your tenant and creates or updates in place, so this is the only write you ever call. Validates the TIN format, checks msic_code is a 5-digit MSIC code, and checks state_code against the LHDN state table before the row moves. NEXT: myinvois_invoice_generate reads this profile as the supplier party of every e-invoice.

ParamètreTypeRequisDescription
scopeenum: "default"non
company_namestringnon
tinstringnon
brnstringnon
sst_numberstringnon
tourism_tax_numberstringnon
contact_numberstringnon
emailstringnon
msic_codestringnon
business_activitystringnon
address_line1stringnon
address_line2stringnon
citystringnon
postal_codestringnon
state_codestringnon
country_codestringnon
invoice_prefixstringnon
default_currencystringnon
default_payment_termsstringnon

myinvois_settings_read

Read the supplier profile by id: the party printed on every e-invoice (company, TIN, BRN, SST and tourism tax numbers, MSIC code, address). Refuses an id outside your tenant with NOT_FOUND: call myinvois_settings_list, which returns the one profile row. NEXT: myinvois_settings_save to change it.

ParamètreTypeRequisDescription
idstringouiThe myinvois_settings id.

myinvois_settings_list

List the supplier profile: at most one row per tenant. An empty list means setup is not done, and myinvois_invoice_generate refuses until it is: call myinvois_settings_save with the company, TIN, BRN, MSIC code and address. NEXT: myinvois_invoice_generate.

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

myinvois_template_create

Save a reusable line-item preset so a repeat invoice's items do not get re-typed. line_items_json is parsed and each item validated by the SAME checker myinvois_invoice_generate uses (description, quantity, unit_price_cents in integer CENTS, tax_rate_bps in basis points, tax_type/classification_code/unit_code against the LHDN code tables) and re-serialized canonically, so a saved template's items are always generate-ready. NEXT: myinvois_template_list to pull the items back out for a generate call.

ParamètreTypeRequisDescription
namestringnon
descriptionstringnon
line_items_jsonstringnon
payment_termsstringnon
notesstringnon

myinvois_template_update

Edit a saved line-item preset. When line_items_json is included it is re-parsed and every item re-validated exactly as create does, so an edited template cannot drift into a shape myinvois_invoice_generate would reject. NEXT: myinvois_template_list to find the id.

ParamètreTypeRequisDescription
namestringnon
descriptionstringnon
line_items_jsonstringnon
payment_termsstringnon
notesstringnon
idstringouiThe myinvois_template id (myinvois_template_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at from a prior myinvois_template_list/read. Mismatch returns CONFLICT with the current value.

myinvois_template_delete

Delete a saved line-item preset. E-invoices generated from it are never touched: each one sealed its own lines. Refuses an id outside your tenant with NOT_FOUND: call myinvois_template_list for valid ids.

ParamètreTypeRequisDescription
idstringouiThe myinvois_template id.

myinvois_template_read

Read one line-item preset by id. Its line_items_json holds generate-ready items: pass them as line_items to myinvois_invoice_generate. Refuses an id outside your tenant with NOT_FOUND: call myinvois_template_list for valid ids.

ParamètreTypeRequisDescription
idstringouiThe myinvois_template id.

myinvois_template_list

List saved line-item presets, newest first. Each line_items_json is generate-ready: pass its items as line_items to myinvois_invoice_generate. An empty list means none are saved yet: call myinvois_template_create.

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

quote_update

Edits a quote's header fields and bookkeeping status (draft, sent, accepted, declined move freely). status 'converted' and converted_invoice_id are convert-flow-owned — hand-setting either refuses, and a converted quote is frozen: no status move and no header edit (it could convert again and double-bill; its invoice is the live document, so edit that). tax_scheme and prices_include_tax are fixed at creation, as is the tax rate. NEXT: quote_convert to create the invoice and record the link atomically.

ParamètreTypeRequisDescription
client_idstringnon
quote_numberstringnon
statusenum: "draft" | "sent" | "accepted" | "declined" | "converted"non
issue_dateintegernon
valid_untilintegernon
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …non
tax_rate_bpsintegernon
notesstringnon
converted_invoice_idstringnon
tax_schemeenum: "sg_gst" | "my_sst"non
prices_include_taxintegernon
idstringouiThe quote id (quote_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

quote_share

Returns share_url, the client's view link for this quote, and the full document (parties, lines, totals in integer CENTS) in one call. action: 'get' (default) returns the live link; 'rotate' replaces it and the old link stops working; 'revoke' turns it off. A link the owner turned off stays off for agents: 'get' never re-issues it, and an agent's 'rotate' waits for the owner's approval. Anyone with the link can open the page until the quote expires, is declined or converted (see link_serving). There is no PDF file yet; the link opens a print-ready page the client can print or save as PDF. Nothing is sent: give the link to the owner, who decides whether it goes to the client.

ParamètreTypeRequisDescription
idstringouiThe quote id (quote_list shows them).
quote_idstringnonAlias of id.
actionenum: "get" | "rotate" | "revoke"nonget (default): the live link, made the first time. rotate: replace it with a new link; the old one stops working. revoke: turn the link off.
fresh_afterintegernonOmit it. Only when an error's next_call includes fresh_after, send that call exactly as given.

quote_read

Returns one quote with subtotal_cents, tax_cents and total_cents worked out from its live lines (integer CENTS) and effective_status, which reads 'expired' once a sent quote's valid_until has passed (the stored status never says so). A quote with a tax_scheme also returns tax_summary (each line's tax code, net, tax and gross, and the per-code totals). Refuses an unknown id with NOT_FOUND: find the id with quote_list or quote_search.

ParamètreTypeRequisDescription
idstringouiThe quote id.

quote_list

Lists your quotes, newest first (200 at most; pass limit and cursor to page). Every row carries total_cents (integer CENTS) and effective_status, so an expired quote reads 'expired'. Refuses a limit outside 1-200 or a malformed cursor with VALIDATION_ERROR: resend without them, or with next_cursor exactly as returned.

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

quote_search

Finds quotes whose text fields (quote number, notes) contain every word of q; rows carry total_cents (integer CENTS) and effective_status. Refuses an empty q with VALIDATION_ERROR: send the quote number, such as QUO-2026-0001, or a word from its notes.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

quote_item_create

Adds one line item to a quote. unit_price_cents is integer CENTS, 0 or more ($15.00 → 1500); quantity is 0.001 to 1,000,000 with up to 3 decimals (1.5 hours → 1.5); unit is an optional label (hr, kg); discount_bps is an optional line discount (10% → 1000). quantity × unit_price_cents is at most 10,000,000,000. Refuses a negative price (send discount_bps instead), a line above the ceiling (split it) and any line on a converted quote (CONFLICT: change its invoice instead). tax_code is the line's code under the document's tax_scheme, refused on a document without a scheme. NEXT: quote_read to see the quote.

ParamètreTypeRequisDescription
quote_idstringnon
descriptionstringnon
quantitynumbernonHow many, up to 3 decimals (1.5 hours → 1.5). A new line defaults to 1.
unit_price_centsintegernon
positionintegernon
unitstringnon
discount_bpsintegernonOptional line discount in basis points: 10% → 1000, none → 0. A discount is never a lower or negative price.
tax_codeenum: "standard" | "zero_rated" | "exempt" | "out_of_scope" | "sales_10" | "sales_5" | "service_8" | "service_6"non

quote_item_update

Edits a quote line's description, quantity, unit, price or discount, or moves it to another quote. expected_updated_at is required: the line's updated_at from your read; without it nothing is written and the refusal names the current value; a line changed since then answers CONFLICT. Refuses a line of a converted quote or a move onto one (CONFLICT: change its invoice instead). Bounds: unit_price_cents is integer CENTS, 0 or more; quantity 0.001 to 1,000,000 (3 decimals); discount_bps 0 to 10000; quantity × unit_price_cents at most 10,000,000,000. unit "" clears the unit. tax_code is the line's code under the document's tax_scheme, refused on a document without a scheme. NEXT: quote_read.

ParamètreTypeRequisDescription
quote_idstringnon
descriptionstringnon
quantitynumbernonHow many, up to 3 decimals (1.5 hours → 1.5). A new line defaults to 1.
unit_price_centsintegernon
positionintegernon
unitstringnon
discount_bpsintegernonOptional line discount in basis points: 10% → 1000, none → 0. A discount is never a lower or negative price.
tax_codeenum: "standard" | "zero_rated" | "exempt" | "out_of_scope" | "sales_10" | "sales_5" | "service_8" | "service_6"non
idstringouiThe quote_item id (quote_item_list shows them).
expected_updated_atintegerouiRequired: the line's updated_at from your last read (quote_item_read, quote_item_list or the create answer). Left out, the call is refused and names the current value; a line changed since then returns CONFLICT with the current value and stays as it is.

quote_item_delete

Soft-deletes a quote line — it leaves the quote and its totals immediately, but the row is retired for audit history, never removed. expected_updated_at is required: the line's updated_at from your read (quote_item_read); without it the removal is refused and the refusal names the current value. Refuses with CONFLICT when the line changed since that read (read it again and decide on the current line) and on a converted quote (its lines are frozen: change its invoice instead). NEXT: quote_read to see the quote.

ParamètreTypeRequisDescription
quote_idstringnon
descriptionstringnon
quantityintegernon
unit_price_centsintegernon
positionintegernon
unitstringnon
discount_bpsintegernon
tax_codeenum: "standard" | "zero_rated" | "exempt" | "out_of_scope" | "sales_10" | "sales_5" | "service_8" | "service_6"non
idstringouiThe quote_item id (quote_item_list shows them).
expected_updated_atintegerouiRequired: the line's updated_at from your last read (quote_item_read, quote_item_list or the create answer). Left out, the call is refused and names the current value; a line changed since then returns CONFLICT with the current value and stays as it is.

quote_item_read

Read one quote_item by id.

ParamètreTypeRequisDescription
idstringouiThe quote_item id.

quote_item_list

List your quote_item rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

sales_settings_upsert

[REQUIRES APPROVAL] Saves your business identity and document defaults (one row per business; scope is 'default'). timezone is the business clock: an invoice turns overdue at midnight in that zone after its due day, and days_overdue counts days there; unset means Asia/Singapore. Left out, timezone and the text fields keep their saved value, but defaulted fields (default_currency, default_tax_rate_bps, payment_terms_days, invoice_prefix, quote_prefix, template_style) reset, so resend them from sales_settings_read. An agent call waits for the owner's approval. Refuses an unlisted timezone or currency, or a tax rate outside 0-10000, with VALIDATION_ERROR before it waits for approval: send a listed value.

ParamètreTypeRequisDescription
scopeenum: "default"oui
business_namestringnon
business_addressstringnon
business_emailstringnon
business_phonestringnon
tax_idstringnon
default_currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …non
default_tax_rate_bpsintegernon
payment_terms_daysintegernon
invoice_prefixstringnon
quote_prefixstringnon
payment_instructionsstringnon
bank_namestringnon
bank_accountstringnon
template_styleenum: "clean" | "professional" | "modern"non
brand_primary_colorstringnon
brand_accent_colorstringnon
timezoneenum: "Asia/Singapore" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Brunei" | "Asia/Jakarta" | "Asia/Pontianak" | "Asia/Makassar" | "Asia/Jayapura" …non
tax_schemeenum: "sg_gst" | "my_sst" | "none"non

sales_settings_numbering_set

[REQUIRES APPROVAL] Sets where a document type's numbers continue, for example after moving from another invoicing tool. doc_type: invoice, quote, credit_note, debit_note or receipt. next_number is the sequence number the next document gets (42 prints as INV-2026-042). Numbering only moves forward: a number at or below the last one used or skipped is refused with VALIDATION_ERROR naming that number, and nothing changes. prefix sets the credit_note, debit_note or receipt prefix; invoice and quote prefixes are invoice_prefix and quote_prefix on sales_settings_upsert. An agent call waits for the owner's approval. Read the current numbers with sales_settings_numbering_read.

ParamètreTypeRequisDescription
doc_typeenum: "invoice" | "quote" | "credit_note" | "debit_note" | "receipt"ouiWhich document type's numbering to change.
next_numberintegernonThe sequence number the next document of this type gets. Must be above the last number used or skipped.
prefixstringnoncredit_note, debit_note or receipt only: 1-10 letters or digits (plus . _ / -), printed before the year.

sales_settings_list

List your sales_settings rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

sales_settings_read

Read one sales_settings by id.

ParamètreTypeRequisDescription
idstringouiThe sales_settings id.

settlement_proposal_accept

Accept a settlement obligation recorded against your tenant as payee — moves status proposed to accepted and stamps accepted_at under the registry's transition guard. Calling it again on an already-accepted row is idempotent (accepted_at simply re-stamps); once a proposal reaches settled the guard refuses any further move, since settled is terminal. Recording agreement only: no money moves here, settlement execution is a later rail's door. NEXT: settlement_proposal_read to verify the accepted row.

ParamètreTypeRequisDescription
payer_tenant_idstringnon
consent_grant_idstringnon
amount_centsintegernon
currencystringnon
descriptionstringnon
related_entity_typestringnon
related_entity_idstringnon
statusenum: "proposed" | "accepted" | "settled"non
accepted_atintegernon
idstringouiThe settlement_proposal id to accept, recorded against your tenant as payee (settlement_proposal_list shows them).

settlement_proposal_list

List your settlement_proposal rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

settlement_proposal_read

Read one settlement_proposal by id.

ParamètreTypeRequisDescription
idstringouiThe settlement_proposal id.

spreadsheet_file_create

Register a spreadsheet file row in the library for bytes that already sit in R2: r2_key must be a spreadsheets/ / key minted by the upload route or spreadsheet.create_with_content — a caller-invented, foreign-tenant, or wrong-domain key is refused. sheet_count, row_count, and column_count are unverified client-reported hints, since nothing server-side parses the binary. NEXT: spreadsheet.create_with_content stores the bytes and registers the row together.

ParamètreTypeRequisDescription
r2_keystringnon
titlestringnon
original_filenamestringnon
file_sizeintegernon
sheet_countintegernon
row_countintegernon
column_countintegernon
sheet_namesstringnon
folder_idstringnon
tagsstringnon
sourceenum: "upload" | "ai-generated" | "agent"non
ai_promptstringnon
last_analyzed_atintegernon
analysis_summarystringnon
deleted_atintegernon

spreadsheet_file_update

Edit a spreadsheet file's metadata — title, tags, folder_id, or the AI-analysis fields — without touching the underlying R2 object. r2_key and source are birth facts: including either field in the call at all, even set to its current value, is refused — re-upload as a new file to change custody or provenance. Moving folder_id re-verifies the target folder belongs to your tenant. NEXT: spreadsheet_file_read to confirm the change landed.

ParamètreTypeRequisDescription
r2_keystringnon
titlestringnon
original_filenamestringnon
file_sizeintegernon
sheet_countintegernon
row_countintegernon
column_countintegernon
sheet_namesstringnon
folder_idstringnon
tagsstringnon
sourceenum: "upload" | "ai-generated" | "agent"non
ai_promptstringnon
last_analyzed_atintegernon
analysis_summarystringnon
deleted_atintegernon
idstringouiThe spreadsheet_file id (spreadsheet_file_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

spreadsheet_file_delete

Soft-delete a spreadsheet file: stamps deleted_at on the row so it drops out of the library and folder listings, while the row and its R2 object both survive untouched — there is no purge or restore lane yet, so this cannot be reversed through any current door. Requires the file id; an empty id is refused before anything is touched. NEXT: spreadsheet_file_read to confirm deleted_at is now set — the generic list tool still includes soft-deleted rows.

ParamètreTypeRequisDescription
r2_keystringnon
titlestringnon
original_filenamestringnon
file_sizeintegernon
sheet_countintegernon
row_countintegernon
column_countintegernon
sheet_namesstringnon
folder_idstringnon
tagsstringnon
sourceenum: "upload" | "ai-generated" | "agent"non
ai_promptstringnon
last_analyzed_atintegernon
analysis_summarystringnon
deleted_atintegernon
idstringouiThe spreadsheet_file id (spreadsheet_file_list shows them).

spreadsheet_file_read

Read one spreadsheet_file by id.

ParamètreTypeRequisDescription
idstringouiThe spreadsheet_file id.

spreadsheet_file_list

List your spreadsheet_file rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

spreadsheet_file_search

Search your spreadsheet_file rows by text.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

spreadsheet_folder_create

Create a spreadsheet_folder.

ParamètreTypeRequisDescription
namestringoui
colorstringnon

spreadsheet_folder_update

Update a spreadsheet_folder you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe spreadsheet_folder id.
namestringnon
colorstringnon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

spreadsheet_folder_delete

Delete a spreadsheet_folder you own.

ParamètreTypeRequisDescription
idstringouiThe spreadsheet_folder id.

spreadsheet_folder_read

Read one spreadsheet_folder by id.

ParamètreTypeRequisDescription
idstringouiThe spreadsheet_folder id.

spreadsheet_folder_list

List your spreadsheet_folder rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

sticky_note_list

List your sticky_note rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

sticky_note_update

Update a sticky_note you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe sticky_note id.
contentstringnon
colorenum: "amber" | "rose" | "verdigris" | "sky" | "onyx"non
position_xintegernon
position_yintegernon
triggers_atintegernon
z_indexintegernon
widthintegernon
heightintegernon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

sticky_note_delete

Delete a sticky_note you own.

ParamètreTypeRequisDescription
idstringouiThe sticky_note id.

sticky_note_due

Read this tenant's sticky notes whose reminder time (triggers_at) has arrived — the poll the desktop host runs to know what to fire as a local notification, since the web itself has no send channel. Read-only, no arguments: now is always the server's clock, never a caller-supplied value, and only notes with triggers_at set and <= now come back, soonest-due first, capped at 200. NEXT: sticky_note_dismiss clears triggers_at once you've notified, so the same note stops showing up here.

ParamètreTypeRequisDescription
contentstringnon
colorenum: "amber" | "rose" | "verdigris" | "sky" | "onyx"non
position_xintegernon
position_yintegernon
triggers_atintegernon
z_indexintegernon
widthintegernon
heightintegernon

sticky_note_dismiss

Clear a sticky note's reminder (triggers_at back to NULL) so it drops out of the sticky_note_due poll — call this after the host fires the local notification for it. Runs through the same tenant-scoped write path as every entity update, but via a clear-properties op: ordinary updates ignore null values, so this is the only way to null the column. Idempotent — dismissing an already-cleared note just re-nulls a NULL and succeeds. NEXT: sticky_note_due to see what's still outstanding.

ParamètreTypeRequisDescription
contentstringnon
colorenum: "amber" | "rose" | "verdigris" | "sky" | "onyx"non
position_xintegernon
position_yintegernon
triggers_atintegernon
z_indexintegernon
widthintegernon
heightintegernon
idstringouiThe sticky note id to dismiss (sticky_note_due or sticky_note_list shows them).

stock_item_create

Create a stock_item.

ParamètreTypeRequisDescription
namestringoui
quantityintegernon
unitstringnon
low_stock_thresholdintegernon
cost_per_unit_centsintegernon
sell_price_centsintegernon
categorystringnon
expiry_datestringnon
notesstringnon
is_activeintegernon

stock_item_update

Update a stock_item you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe stock_item id.
namestringnon
quantityintegernon
unitstringnon
low_stock_thresholdintegernon
cost_per_unit_centsintegernon
sell_price_centsintegernon
categorystringnon
expiry_datestringnon
notesstringnon
is_activeintegernon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

stock_item_delete

Soft-delete a stock item by id: sets is_active to 0 while its movements-ledger history stays intact. stock_item_adjust then refuses the id as NOT_FOUND and stops resolving it by name, so a later delivery under the same name creates a fresh item instead of reviving this one. stock_item_list and stock_item_read still return it with is_active: 0 — only the dashboard's stats header excludes it. Restore by running a normal update that sets is_active back to 1; there is no separate restore door.

ParamètreTypeRequisDescription
namestringnon
quantityintegernon
unitstringnon
low_stock_thresholdintegernon
cost_per_unit_centsintegernon
sell_price_centsintegernon
categorystringnon
expiry_datestringnon
notesstringnon
is_activeintegernon
idstringouiThe stock item id to soft-delete (stock_item_list shows them).

stock_item_read

Read one stock_item by id.

ParamètreTypeRequisDescription
idstringouiThe stock_item id.

stock_item_list

List your stock_item rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

stock_item_search

Search your stock_item rows by text.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

studio_character_create

Create a studio_character.

ParamètreTypeRequisDescription
namestringoui
descriptionstringoui
prompt_suffixstringnon
reference_image_keystringnon
color_tagstringnon

studio_character_read

Read one studio_character by id.

ParamètreTypeRequisDescription
idstringouiThe studio_character id.

studio_character_list

List your studio_character rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

studio_character_update

Update a studio_character you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe studio_character id.
namestringnon
descriptionstringnon
prompt_suffixstringnon
reference_image_keystringnon
color_tagstringnon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

studio_character_delete

Delete a studio_character you own.

ParamètreTypeRequisDescription
idstringouiThe studio_character id.

studio_environment_create

Create a studio_environment.

ParamètreTypeRequisDescription
namestringoui
descriptionstringoui
prompt_suffixstringnon
reference_image_keystringnon
color_tagstringnon

studio_environment_read

Read one studio_environment by id.

ParamètreTypeRequisDescription
idstringouiThe studio_environment id.

studio_environment_list

List your studio_environment rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

studio_environment_update

Update a studio_environment you own (optionally compare-and-set via expected_updated_at).

ParamètreTypeRequisDescription
idstringouiThe studio_environment id.
namestringnon
descriptionstringnon
prompt_suffixstringnon
reference_image_keystringnon
color_tagstringnon
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.

studio_environment_delete

Delete a studio_environment you own.

ParamètreTypeRequisDescription
idstringouiThe studio_environment id.

studio_project_create

Create a video studio project — the composition document (scenes, tracks, clips, captions) starts empty and is built up afterward through the studio.* director tools. thumbnail_key is server-owned: send thumbnail_data_url instead, and this door externalizes it into a content-addressed R2 key through the media hygiene kit (magic bytes decide the type; SVG refuses). Free. NEXT: studio_project_read to verify.

ParamètreTypeRequisDescription
namestringnon
statusenum: "draft" | "generating" | "ready" | "exporting" | "exported"non
thumbnail_keystringnon
thumbnail_data_urlstringnonData URL (data:image/...) of the project thumbnail — the door externalizes it into a content-addressed R2 key through the media hygiene kit (magic bytes decide the type; SVG refuses). Never send thumbnail_key directly; it is server-owned and computed from this field. Omit to leave the thumbnail uns…

studio_project_read

Read one studio_project by id.

ParamètreTypeRequisDescription
idstringouiThe studio_project id.

studio_project_list

List your studio_project rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

studio_project_update

Rename a project, change its status, or replace its thumbnail on a project you own — send thumbnail_data_url, never thumbnail_key, which is server-owned and computed by this door the same way studio_project_create does. status here is UI-summary-only by design: it never gates render or generation, which are tracked separately by the export job row and the composition document's own scene status. Free. NOT_FOUND when the id is outside your scope — list first with studio_project_list.

ParamètreTypeRequisDescription
namestringnon
statusenum: "draft" | "generating" | "ready" | "exporting" | "exported"non
thumbnail_keystringnon
idstringouiThe studio project id to update (studio_project_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.
thumbnail_data_urlstringnonData URL (data:image/...) of the project thumbnail — the door externalizes it into a content-addressed R2 key through the media hygiene kit (magic bytes decide the type; SVG refuses). Never send thumbnail_key directly; it is server-owned and computed from this field. Omit to leave the thumbnail uns…

studio_project_delete

Delete a studio_project you own.

ParamètreTypeRequisDescription
idstringouiThe studio_project id.

team_assignment_update

Edits an assignment's content (title/description/priority/due_at/attachment) — only the assigner may call this, and only before the job reaches a terminal state. assigned_to cannot move here even though it is a writable column: reassigning is a separate transition that also opens a 30-second undo window. NEXT: team_assignment_reassign to hand the job to someone else.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at from a prior read. Mismatch returns CONFLICT — another writer changed this assignment first.

team_assignment_delete

Deletes an assignment outright — only the assigner may call this. The row is removed first, then its attachment and any job photos are best-effort deleted from R2 afterward, so a storage hiccup never leaves the assignment stranded. NEXT: team_assignment_list to confirm it is gone.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).

team_assignment_accept

Accepts a pending job — only the assignee may call this, and only while the assignment is still 'pending'; it stamps accepted_at and moves status to 'accepted'. NEXT: team_assignment_start once you begin the work.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).

team_assignment_start

Marks a job as started — only the assignee, and only from status 'accepted'; it stamps started_at and moves status to 'in_progress'. NEXT: team_assignment_add_photo for proof, then team_assignment_complete when done.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).

team_assignment_complete

Finishes a job — only the assignee, and only from status 'in_progress'; it stamps completed_at, moves status to 'completed', and stores completion_notes when you supply them. Completed is terminal: the row can no longer be edited or reassigned (deletion by the assigner is still possible).

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).

team_assignment_decline

Declines a job — only the assignee, and only while it is 'pending' or 'accepted'; decline_reason is required and is stamped alongside declined_at. Declined is terminal, same as completed: the assignment cannot be edited or reassigned afterward.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).

team_assignment_reassign

Hands an assignment to a different tenant member — only the original assigner or an admin+, never the current assignee reassigning themself, and never onto a terminal (completed/declined) row. It resets status to 'pending' for the new assignee and records the prior assignee/status so the move can be undone. NEXT: team_assignment_undo_reassign within 30 seconds reverts it.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).

team_assignment_undo_reassign

Reverts an assignment's most recent reassignment — restores the previous assignee and status. Only the person who performed that reassignment may call it, and only within the 30-second window after it happened; past that, CONFLICT says to reassign again instead.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).

team_assignment_add_photo

Attaches a job photo to an assignment — only the assignee, and only while the job is 'accepted', 'in_progress', or 'completed'. photo_key must be one minted by POST /api/desk/assignments/upload for this tenant; re-attaching the same key is a no-op, and the row holds at most 20 photos. NEXT: team_assignment_complete once proof is attached.

ParamètreTypeRequisDescription
assigned_tostringnon
titlestringnon
descriptionstringnon
priorityenum: "low" | "normal" | "high" | "urgent"non
statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
due_atintegernon
accepted_atintegernon
started_atintegernon
completed_atintegernon
declined_atintegernon
decline_reasonstringnon
completion_notesstringnon
attachment_keystringnon
attachment_namestringnon
attachment_typestringnon
photos_jsonstringnon
artifact_idstringnon
previous_assigneestringnon
previous_statusenum: "pending" | "accepted" | "in_progress" | "completed" | "declined"non
reassigned_bystringnon
reassigned_atintegernon
idstringouiThe team_assignment id (team_assignment_list shows them).
photo_keystringouiThe R2 key minted by POST /api/desk/assignments/upload for this tenant — attaching an unminted key or another tenant's key fails validation.

team_assignment_read

Read one team_assignment by id.

ParamètreTypeRequisDescription
idstringouiThe team_assignment id.

team_assignment_list

List your team_assignment rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

user_interest_upsert

Create-or-update a user_interest keyed on interest.

ParamètreTypeRequisDescription
intereststringoui

user_interest_list

List your user_interest rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

user_interest_delete

Delete a user_interest you own.

ParamètreTypeRequisDescription
idstringouiThe user_interest id.

user_setting_upsert

Create-or-update a user_setting keyed on key.

ParamètreTypeRequisDescription
keystringoui
valuestringoui
value_typeenum: "text" | "integer" | "boolean" | "json"non

user_setting_read

Read one user_setting by id.

ParamètreTypeRequisDescription
idstringouiThe user_setting id.

user_setting_list

List your user_setting rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

user_setting_search

Search your user_setting rows by text.

ParamètreTypeRequisDescription
qstringouiSearch text (substring match over the entity's text properties; %/_ are literal).
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

user_setting_delete

Delete a user_setting you own.

ParamètreTypeRequisDescription
idstringouiThe user_setting id.

workflow_update

Edit a workflow's fields or its definition graph: every call re-validates the definition — yours if resent, else the stored one decoded back — against the resulting trigger_type, so a plain rename can fail if that stored graph no longer validates, and flipping to 'schedule' without a schedule block fails here rather than at the scheduler. When trigger_type ends as 'schedule' and is_active as 1, next_run_at recomputes from schedule and now on every call, even one touching neither field; any value you send for it is ignored. Optional expected_updated_at compare-and-set: a stale value refuses CONFLICT — re-read, merge, retry. NEXT: workflow_read to confirm the new next_run_at.

ParamètreTypeRequisDescription
namestringnon
descriptionstringnon
role_namestringnon
definition_jsonstringnon
trigger_typeenum: "manual" | "webhook" | "schedule"non
is_activeintegernon
next_run_atintegernon
imported_fromstringnon
idstringouiThe workflow id (workflow_list shows them).
expected_updated_atintegernonOptional compare-and-set guard: the updated_at from a prior workflow_read/workflow_list. Mismatch returns CONFLICT with the current value.

workflow_read

Read one workflow by id.

ParamètreTypeRequisDescription
idstringouiThe workflow id.

workflow_list

List your workflow rows (newest first).

ParamètreTypeRequisDescription
limitintegernonPage size 1-200. Omit BOTH limit and cursor for the legacy bare-array first page of 200; pass either to get { items, next_cursor, limit } instead.
cursorstringnonOpaque page cursor — pass a previous response's next_cursor verbatim. null next_cursor means no further pages.

workflow_delete

Delete a workflow you own.

ParamètreTypeRequisDescription
idstringouiThe workflow id.

invoice_pdf

Make the PDF of an issued invoice (or of its receipt once paid): the same document as its print-ready page, printed on A4 with the business's fonts, brand colours and logo, and kept, so asking again for an unchanged invoice returns the stored file (cached: true) without printing it again. Totals are the stored figures (the same numbers invoice_read gives). It prepares a file and sends nothing. Returns version, pdf_path (downloads while signed in), and download_url when signed links are on; while they are off, download_url_unavailable says why and pdf_path still works. Refusals: a draft is refused CONFLICT SIMPLER_SALES_PDF_NOT_ISSUED (issue it first with invoice_update status 'sent'); a cancelled invoice is refused CONFLICT SIMPLER_SALES_PDF_CANCELLED; an unknown id is NOT_FOUND (find it with invoice_list); more than 50 new PDFs in 24 hours is refused RATE_LIMITED SIMPLER_SALES_PDF_DAILY_CAP (wait retry_after seconds; stored PDFs still download); when PDF printing is unavailable (no browser here, printer busy or failing) it answers SERVICE_UNAVAILABLE with a reason_code and retry_after, and the print-ready page stays the fallback. A read-only token or a viewer is refused FORBIDDEN before anything is made. Free.

ParamètreTypeRequisDescription
idstringouiThe invoice's id, from invoice_list or invoice_read.

sales_settings_numbering_read

How each numbered document type counts, one row each for invoice, quote, credit_note, debit_note and receipt: prefix, last_number (the highest number already used or skipped), next_number, and next_preview, the number the next one prints (this year's form, such as INV-2026-042). Copy next_preview, never build it. Change a next number, or a credit note, debit note or receipt prefix, with sales_settings_numbering_set; invoice and quote prefixes with sales_settings_upsert (prefix_set_with names the tool). A row with available false is not set up in this environment yet; unavailable_reason says why and what still works. Takes no arguments: any argument is refused with VALIDATION_ERROR.

Aucun paramètre.

statement_pdf

Make the PDF of a client's statement of account (the same page statement_prepare's document_path shows), printed on A4 with the business's fonts, brand colours and logo, and kept, so asking again for an unchanged statement returns the stored file (cached: true) without printing it again. It prepares a file and sends nothing. Returns version, pdf_path (downloads while signed in) and closing_balances, and download_url when signed links are on; while they are off, download_url_unavailable says why and pdf_path still works. Refusals: a client_id that is not one of your clients is NOT_FOUND (find it with invoice_client_search or invoice_client_list); a date not written YYYY-MM-DD, a to after today, a from after to, or a period longer than 366 days is VALIDATION_ERROR naming the field; a client with more than 2000 issued invoices is PAYLOAD_TOO_LARGE SIMPLER_SALES_STATEMENT_TOO_LARGE (sales_receivables still ages them). More than 50 new PDFs (invoices and statements together) in 24 hours is refused RATE_LIMITED SIMPLER_SALES_PDF_DAILY_CAP (wait retry_after seconds; stored PDFs still download); when PDF printing is unavailable (no browser here, storage not set up, printer busy or failing) it answers SERVICE_UNAVAILABLE with a reason_code and retry_after, and the print-ready page stays the fallback. A read-only token or a viewer is refused FORBIDDEN before anything is made. Free.

ParamètreTypeRequisDescription
client_idstringouiThe client's id, from invoice_client_search (by name) or invoice_client_list.
fromstringnonFirst day of the period, YYYY-MM-DD in the business's time zone. Default: the first day of the month of to.
tostringnonLast day of the period, YYYY-MM-DD in the business's time zone, today at the latest. Default: today.

banking.import_statement

Import one bank account's statement as CSV text (CSV today, PDF later) so the forecast starts from the bank's own balance. Owner or admin only. Stores each line and each day's closing balance for the account named by bank_label, account_last4 and currency; uploading the same statement again adds nothing. Name an account the same way every time (the label is matched ignoring case). Before anything is stored, only the last 4 digits of the account number are kept, and runs of 6 or more digits, email addresses and phone numbers are cut from descriptions and counterparties; payee and payer names stay as the statement gives them until the workspace is closed, when they are emptied and the lines are kept as figures and dates. The columns are recognised from the header (date, balance, and one signed amount or separate withdrawal and deposit columns); no bank layout is verified yet, so check the mapping in the reply. The latest balance, if under 31 days old, becomes the forecast's starting cash, graded 'statement', in place of a typed balance for the same account (a typed account whose label ends in other last 4 digits and dated on or after the statement is added to it, and the sum is graded 'declared'; an older one is left out until it is saved again with today's date), and the stored forecast is rerun. Returns counts, statement_balance, the mapping used, balance_checks, and forecast.status with next_step; verify with forecast.read. Refuses with FORBIDDEN SIMPLER_BANKING_ROLE_REFUSE…

ParamètreTypeRequisDescription
csv_textstringouiThe statement exported from online banking as CSV, at most 2,000,000 bytes. A title block above the header row is fine.
bank_labelstringouiThe bank's name, such as DBS or Maybank. No account number.
account_last4stringouiThe account number's last 4 digits as text, such as "0123". A longer number is cut to its last 4.
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …ouiThe account's currency.
mappingobjectnonOptional: 1-based column numbers, sent after a refusal lists the file's columns. Needs date and balance, plus amount (money in positive) or both debit and credit.
date_orderenum: "day_first" | "month_first"nonOptional: send only when a refusal says every date can be read two ways. day_first reads 03/04/2026 as 3 April.
new_accountbooleannonOptional: send true only after a SIMPLER_BANKING_ACCOUNT_LABEL_CONFLICT refusal, when this statement is from a different account that shares the saved account's last 4 digits and currency. Leave it out otherwise.

image.variation

[paid: $0.06/image] Generate 1-3 new images from a reference image guided by a prompt (google/nano-banana-2.1, which keeps the reference's product, logo and printed words when the prompt says to): a new scene, background, lighting or layout for the same subject. Pass image_asset_key (an earlier result) or image_url (public https or data:image) plus a prompt describing the change. Each image is stored in this workspace's image library and returned as JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; never a provider link. A result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass one image input), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), VALIDATION_ERROR on an empty prompt, INSUFFICIENT_CREDITS (add credits), SIMPLER_IMAGE_PROMPT_REFUSED names the label (sexual, minor, real_person or other_unsafe): rewrite the prompt without it, for example no real person's name or likeness; SIMPLER_IMAGE_PROMPT_CHECK_UNAVAILABLE (the safety check is down, nothing charged: retry later); SIMPLER_IMAGE_OUTPUT_FLAGGED (the output failed the content check and was refunded: change the prompt); SIMPLER_IMAGE_OUTPUT_SCAN_UNAVAILABLE (outputs cannot be checked right now, nothing charged: retry later). A partial result lists refunded outputs in output.withheld. To edit a SPECIFIC region use image.inpaint; for whole-image res…

ParamètreTypeRequisDescription
image_urlstringnonThe reference image: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonThe reference image, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
promptstringouiHow to vary the image (max 1500 chars).
countnumbernonNumber of variations (1-3, default 1).
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.convert

[paid: $0.0005] Convert an image to PNG, JPEG or WebP, and optionally bound its size, with the Cloudflare Images service: a PNG, JPEG, WebP, GIF or HEIC goes in and the result is stored in this workspace. format is png, jpeg, webp (AVIF is not offered). quality (1-100, default 85) applies to jpeg and webp. width and height (16-4096 px) bound the result and fit picks how: scale-down (the default) shrinks to fit and never enlarges, contain fits inside and may enlarge, cover and crop fill the box and cut the overflow, pad fits inside and fills the rest with background. background (#RRGGBB) fills transparent pixels and padding; a JPEG, which has no transparency, is laid on white unless you name a colour. One call is one Images transformation at $0.0005, charged only when the result is stored; the preview is never charged. Returns JSON {images:[{url, asset_key, download_url?, width, height, content_type}], price, output: {format, bytes, quality?, input_format, input_bytes}, next} plus a preview; a result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), VALIDATION_ERROR naming the field for a format outside the list, a quality with png, a size outside the range, a fit without width or height, or a background that is not #RRGGBB; SIMPLER_IMAGES_BINDING_ABSENT (this deployment ha…

ParamètreTypeRequisDescription
image_urlstringnonThe image to convert: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP, GIF or HEIC; SVG is refused). Pass this or image_asset_key, not both.
image_asset_keystringnonThe image to convert, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
formatenum: "png" | "jpeg" | "webp"ouiThe result's file type: png (lossless, keeps transparency), jpeg (smallest for photos, no transparency) or webp.
qualityintegernonjpeg and webp only: 1-100, default 85. Refused with png.
widthintegernonBounding width in pixels; leave width and height out to keep the size.
heightintegernonBounding height in pixels; leave width and height out to keep the size.
fitenum: "scale-down" | "contain" | "cover" | "crop" | "pad"nonHow the image fits width and height (default scale-down). Needs width or height.
backgroundstringnon#RRGGBB under transparent pixels and around a padded image. A jpeg defaults to #FFFFFF.
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

template.run

[paid: up to $0.66 a run; template.list gives each template's price] Run one media template for this workspace. The product templates (product-shot, product-lifestyle, showcase-video) first read the words printed on the product and answer status needs_label with label_words and nothing charged: show the words to the owner, then call again with the same slots plus label_words set to the confirmed list (the answer's next says exactly how). Images land in the image library (asset_key and url; a download_url when signed links are on). showcase-video makes its still in the call and answers status rendering: the video takes 1 to 2 minutes, so call template.status with the run_id. explainer-voice answers with an MP3 and a WebVTT caption file. price.quoted_micro_usd is the most the run can cost; price.charged_micro_usd is what it did. Refuses: VALIDATION_ERROR (each slot issue named), SIMPLER_MEDIA_INPUT_MISSING / SIMPLER_MEDIA_URL_REFUSED (pass an asset_key, https or data:image), INSUFFICIENT_CREDITS (add credits), the prompt guard's refusals (slot words that name a real person, or sexual or other harmful content), SIMPLER_MEDIA_TEMPLATE_RUNS_UNMIGRATED (templates not switched on yet; nothing charged).

ParamètreTypeRequisDescription
templateenum: "product-shot" | "product-lifestyle" | "poster" | "showcase-video" | "explainer-voice" | "brand-mockup"ouiThe template id (template.list).
slotsobjectouiThe template's slot values by name; template.list names each template's slots (the templates that take a slot are in brackets). Image slots are an asset_key, https URL or data:image URL.

template.status

Free. A template run's status (needs_label, rendering, done, failed), what it delivered (url, asset_key for images, charged_micro_usd per file, and a 24-hour download_url when signed links are on), what it charged and what to do next. Without run_id: this workspace's 10 most recent runs. Refuses: NOT_FOUND for a run_id that is not this workspace's.

ParamètreTypeRequisDescription
run_idstringnonThe run_id template.run answered (tpr_...). Absent = the recent runs.

image.cut_background

[paid: $0.0005] Remove the background from a photo, returning the subject on transparency (BiRefNet on Cloudflare Images; when that cannot read the image, Bria's background remover runs instead at $0.018). Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace, never provider links, and a result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), INSUFFICIENT_CREDITS (add credits). SIMPLER_EDIT_RESULT_UNDELIVERED means the charge was refunded: retry. NEXT: pass images[0].asset_key as image_asset_key to the next image.* tool, or open download_url when the result carries one.

ParamètreTypeRequisDescription
image_urlstringnonSource photo: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonSource photo, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.upscale

[paid: $0.005] Upscale a photo to about 4 megapixels (Pruna P-Image Upscale). Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace, never provider links, and a result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), INSUFFICIENT_CREDITS (add credits). SIMPLER_EDIT_RESULT_UNDELIVERED means the charge was refunded: retry. NEXT: pass images[0].asset_key as image_asset_key to the next image.* tool, or open download_url when the result carries one.

ParamètreTypeRequisDescription
image_urlstringnonSource photo: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonSource photo, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.inpaint

[paid: $0.06] Remove or replace a masked region of a photo (Nano Banana repaints it in context; the result is the original with only the mask, grown and feathered, changed). White mask pixels = edit region. Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace, never provider links, and a result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), SIMPLER_EDIT_FILL_MASK_EMPTY (the mask selects nothing: paint the object white), SIMPLER_IMAGE_PROMPT_REFUSED names the label (sexual, minor, real_person or other_unsafe): rewrite the prompt without it, for example no real person's name or likeness; SIMPLER_IMAGE_PROMPT_CHECK_UNAVAILABLE (the safety check is down, nothing charged: retry later); SIMPLER_IMAGE_OUTPUT_FLAGGED (the output failed the content check and was refunded: change the prompt); SIMPLER_IMAGE_OUTPUT_SCAN_UNAVAILABLE (outputs cannot be checked right now, nothing charged: retry later), INSUFFICIENT_CREDITS (add credits). SIMPLER_EDIT_RESULT_UNDELIVERED means the charge was refunded: retry. NEXT: pass images[0].asset_key as image_asset_key to the next image.* tool, or open download_url when the result carries one.

ParamètreTypeRequisDescription
image_urlstringnonSource photo: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonSource photo, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
mask_urlstringnonMask (white = edit region): a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
mask_asset_keystringnonMask (white = edit region), as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
promptstringnonWhat to paint in; empty removes.
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.replace_sky

[paid: $0.03] Replace a photo's sky (Bria FIBO Edit). Pass a mask covering the sky (white = sky). Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace, never provider links, and a result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), SIMPLER_IMAGE_PROMPT_REFUSED names the label (sexual, minor, real_person or other_unsafe): rewrite the prompt without it, for example no real person's name or likeness; SIMPLER_IMAGE_PROMPT_CHECK_UNAVAILABLE (the safety check is down, nothing charged: retry later); SIMPLER_IMAGE_OUTPUT_FLAGGED (the output failed the content check and was refunded: change the prompt); SIMPLER_IMAGE_OUTPUT_SCAN_UNAVAILABLE (outputs cannot be checked right now, nothing charged: retry later), INSUFFICIENT_CREDITS (add credits). SIMPLER_EDIT_RESULT_UNDELIVERED means the charge was refunded: retry. NEXT: pass images[0].asset_key as image_asset_key to the next image.* tool, or open download_url when the result carries one.

ParamètreTypeRequisDescription
image_urlstringnonSource photo: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonSource photo, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
mask_urlstringnonSky mask (white = sky): a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
mask_asset_keystringnonSky mask (white = sky), as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
promptstringnonSky description.
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.replace_background

[paid: $0.03] Replace a photo's background with a generated scene (Bria FIBO Edit). With no mask, the subject is cut out first (plus [paid: $0.0005]) and the original subject is laid back over the new scene; or pass a mask covering the background (white = background). Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace, never provider links, and a result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), VALIDATION_ERROR on an empty prompt (describe the scene), SIMPLER_EDIT_BACKDROP_NO_SUBJECT (no mask and no clear subject: pass a background mask), SIMPLER_IMAGE_PROMPT_REFUSED names the label (sexual, minor, real_person or other_unsafe): rewrite the prompt without it, for example no real person's name or likeness; SIMPLER_IMAGE_PROMPT_CHECK_UNAVAILABLE (the safety check is down, nothing charged: retry later); SIMPLER_IMAGE_OUTPUT_FLAGGED (the output failed the content check and was refunded: change the prompt); SIMPLER_IMAGE_OUTPUT_SCAN_UNAVAILABLE (outputs cannot be checked right now, nothing charged: retry later), INSUFFICIENT_CREDITS (add credits). SIMPLER_EDIT_RESULT_UNDELIVERED means the charge was refunded: retry. NEXT: pass images[0].asset_key…

ParamètreTypeRequisDescription
image_urlstringnonSource photo: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonSource photo, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
mask_urlstringnonOptional background mask (white = background); omit it to cut the subject out automatically: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
mask_asset_keystringnonOptional background mask (white = background); omit it to cut the subject out automatically, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
promptstringouiScene description.
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.harmonize

Match a pasted subject's light and colour to its scene: a Reinhard colour transfer in CIELAB moves the subject's mean and spread toward the scene's, weighted by the subject mask, at strength 0..100 (default 80). Pixels outside the mask never change. Pass the composite plus a subject mask (white = subject, black = scene). Free: runs on the platform's own deterministic kernel, so the same input and arguments always return the same pixels. Takes PNG, JPEG, WebP, GIF or HEIC. Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), SIMPLER_EDIT_HARMONIZE_MASK_EMPTY (the mask selects no visible pixel: paint the subject white), SIMPLER_EDIT_HARMONIZE_NO_BACKGROUND (the mask covers everything: pass the whole composite with only the subject white), SIMPLER_EDIT_SERVER_PIXELS_NEEDS_PNG (the file is not an image: send a PNG, JPEG, WebP, GIF or HEIC), SIMPLER_EDIT_SERVER_PIXELS_TOO_LARGE (at most 4,194,304 pixels: run image.convert with width and height 2048 first), SIMPLER_IMAGES_BINDING_ABSENT (this deployment has no Images binding yet, owner step O-2: send a standard PNG), SIMPLER_IMAGES_QUOTA_EXCEEDED or SIMPLER_IMAGES_LEGACY_SUBSCRIPTION (an owner account step: send a…

ParamètreTypeRequisDescription
image_urlstringnonComposite image: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonComposite image, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
subject_mask_urlstringnonSubject mask (white = subject): a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
subject_mask_asset_keystringnonSubject mask (white = subject), as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
strengthintegernonHow far to move the subject toward the scene, 0..100 (default 80).
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.add_shadow

Add a product shadow to a cut-out (subject on transparency), cast from its alpha: kind drop, contact or reflection. angle 0..359 is the light direction counterclockwise from 3 o'clock (default 120; the shadow falls the other way); distance 0..200 px (unset: 3.5% of the subject's height, at least 12; the gap under the base for a reflection); blur 0..100 px (unset: 5% of the subject's height, at least 16); opacity 0..100 (default 65); transparent true (default) keeps the backdrop see-through, false fills background #RRGGBB (default #ffffff) behind the shadow. contact ignores angle and distance, reflection ignores angle. The result grows past the input by the shadow's reach (distance plus blur) so no visible shadow pixel is cut: output pad {left, top, right, bottom} gives the growth in input pixels and subject_box the subject in the result; clipped true means the growth was trimmed to stay within 4,194,304 pixels. Free: runs on the platform's own deterministic kernel, so the same input and arguments always return the same pixels. Takes PNG, JPEG, WebP, GIF or HEIC. Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), SIMPLER_EDIT_SHADOW_NEEDS_CUTOUT (no transpa…

ParamètreTypeRequisDescription
image_urlstringnonCut-out subject on transparency: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonCut-out subject on transparency, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
kindenum: "drop" | "contact" | "reflection"nonShadow kind (default drop).
angleintegernonLight direction in degrees, counterclockwise from 3 o'clock (default 120).
distanceintegernonOffset in pixels, 0..200 (unset: 3.5% of the subject's height, at least 12).
blurintegernonEdge softness in pixels, 0..100 (unset: 5% of the subject's height, at least 16).
opacityintegernonShadow strength, 0..100 (default 65).
transparentbooleannontrue (default) keeps the backdrop see-through; false fills background behind the shadow.
backgroundstringnon#RRGGBB backdrop used when transparent is false (default #ffffff). The word transparent is also accepted and means transparent true; it cannot be combined with transparent false.
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.adjust

Apply 1..10 adjustments to a photo in order, with the editor's own kernels: a one-op stack returns the same pixels as that tool in the editor. ops is a list of {op, params}; each op takes only its own params keys, and a key left out takes that op's default: brightness_contrast (brightness, contrast), exposure (stops), temperature_tint (temperature, tint), vibrance_saturation (vibrance, saturation), curves (rgb, red, green, blue), levels (in_black, in_white, levels_gamma, out_black, out_white), hsl_per_range (range, hue, saturation, luminance), sharpen (amount, radius, shadow_protect, highlight_protect), blur (radius), denoise (luminance_strength, chrominance_strength, radius), vignette (amount, midpoint, feather), grain (amount), black_and_white (red_weight, green_weight, blue_weight, tint_color), auto_tone (aggressive). output_format is png (the default, free), jpeg or webp ($0.0005 for the one Images encode, charged only when the result is delivered). Free for png output, $0.0005 for jpeg or webp: runs on the platform's own deterministic kernel, so the same input and arguments always return the same pixels. Takes PNG, JPEG, WebP, GIF or HEIC. Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SI…

ParamètreTypeRequisDescription
image_urlstringnonPhoto to adjust: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonPhoto to adjust, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
opsarray<object>ouiAdjustments applied in order, 1..10. Each op takes only its own params keys: brightness_contrast (brightness, contrast), exposure (stops), temperature_tint (temperature, tint), vibrance_saturation (vibrance, saturation), curves (rgb, red, green, blue), levels (in_black, in_white, levels_gamma, out_…
output_formatenum: "png" | "jpeg" | "webp"nonResult encoding: png (the default, free), jpeg or webp ($0.0005, one Images encode at quality 85; a JPEG has no transparency, so transparent pixels come out white).
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.style_transfer

[paid: $0.06] Apply a style to a photo while preserving the content (Nano Banana 2.1, told to change only the look). Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace, never provider links, and a result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), VALIDATION_ERROR on an empty prompt (name the look), SIMPLER_IMAGE_PROMPT_REFUSED names the label (sexual, minor, real_person or other_unsafe): rewrite the prompt without it, for example no real person's name or likeness; SIMPLER_IMAGE_PROMPT_CHECK_UNAVAILABLE (the safety check is down, nothing charged: retry later); SIMPLER_IMAGE_OUTPUT_FLAGGED (the output failed the content check and was refunded: change the prompt); SIMPLER_IMAGE_OUTPUT_SCAN_UNAVAILABLE (outputs cannot be checked right now, nothing charged: retry later), INSUFFICIENT_CREDITS (add credits). SIMPLER_EDIT_RESULT_UNDELIVERED means the charge was refunded: retry. NEXT: pass images[0].asset_key as image_asset_key to the next image.* tool, or open download_url when the result carries one.

ParamètreTypeRequisDescription
image_urlstringnonSource photo: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonSource photo, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
promptstringouiStyle descriptor.
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.segment_at

[paid: $0.0005] Mask the side of the subject/background cut that pixel (x, y) falls on (BiRefNet on Cloudflare Images: the main subject, or everything behind it; not one object among several) and return the mask image. Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace, never provider links, and a result with no download_url says why in download_url_unavailable. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), VALIDATION_ERROR with reason SIMPLER_EDIT_TOOL_ARGS_INVALID when x or y is missing or outside 0..16384 (take the point from the user, in the image's pixels), INSUFFICIENT_CREDITS (add credits). SIMPLER_EDIT_RESULT_UNDELIVERED means the charge was refunded: retry. NEXT: pass images[0].asset_key as mask_asset_key to image.inpaint, image.replace_sky or image.replace_background.

ParamètreTypeRequisDescription
image_urlstringnonSource photo: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonSource photo, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
xnumberouiPixel X of a point on the object (0..16384).
ynumberouiPixel Y of a point on the object (0..16384).
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.generate_for_edit

[paid: $0.06] Generate an image from a text prompt (google/nano-banana-2.1) sized for editing. Returns JSON {images:[{url, asset_key, download_url?, width, height}], price, next} plus a preview; images are stored in this workspace, never provider links, and a result with no download_url says why in download_url_unavailable. Refuses: VALIDATION_ERROR on an empty prompt (describe the image), SIMPLER_IMAGE_PROMPT_REFUSED names the label (sexual, minor, real_person or other_unsafe): rewrite the prompt without it, for example no real person's name or likeness; SIMPLER_IMAGE_PROMPT_CHECK_UNAVAILABLE (the safety check is down, nothing charged: retry later); SIMPLER_IMAGE_OUTPUT_FLAGGED (the output failed the content check and was refunded: change the prompt); SIMPLER_IMAGE_OUTPUT_SCAN_UNAVAILABLE (outputs cannot be checked right now, nothing charged: retry later), INSUFFICIENT_CREDITS (add credits). SIMPLER_EDIT_RESULT_UNDELIVERED means the charge was refunded: retry. NEXT: pass images[0].asset_key as image_asset_key to image.inpaint, image.upscale or image.style_transfer.

ParamètreTypeRequisDescription
promptstringouiFull image description.
destinationenum: "ig_post" | "story_reel" | "square" | "flyer_a4" | "web_banner"nonWhere it will be used, which sets the shape: ig_post 4:5 (the default), story_reel 9:16, square 1:1, flyer_a4 (A4 portrait), web_banner 16:9.
image_sizeenum: "square_hd" | "landscape_4_3" | "landscape_16_9" | "portrait_4_3" | "portrait_16_9"nonOlder size names; when sent, they win over destination.
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…
preview_formatenum: "png" | "jpeg" | "none"nonPreview block after the JSON, at most 384px on the long edge and never charged: png, jpeg or none. Left out, a PNG result gets a png preview and a JPEG or WebP result a jpeg one. A result with no preview says why in preview_unavailable.

image.describe

Analyze a photo with vision (subjects, defects, OCR text, composition) and return a description. Token-billed at the platform's vision rates. Returns JSON {text, price, next}. Refuses: SIMPLER_MEDIA_INPUT_MISSING (pass the url or the asset_key), SIMPLER_MEDIA_FOREIGN_KEY (use this workspace's asset_key), SIMPLER_MEDIA_URL_REFUSED (use https, data:image or an asset_key), SIMPLER_MEDIA_PIN_TOO_LARGE (under 20MB), SIMPLER_MEDIA_UNKNOWN_TYPE (send PNG, JPEG or WebP), INSUFFICIENT_CREDITS (add credits). NEXT: act on the findings with image.inpaint, image.cut_background or image.upscale.

ParamètreTypeRequisDescription
image_urlstringnonPhoto to analyze: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonPhoto to analyze, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
questionstringnonOptional focused question.
request_refstringnonOptional idempotency key (1-64 chars: letters, digits, . _ : -). Retrying with the same request_ref and the same arguments within 24 hours returns the first result at $0 with replayed: true; the same request_ref with different arguments is refused (SIMPLER_IMAGE_REQUEST_REF_CONFLICT), and so is a r…

image.marketplace_check

Check a product photo against a marketplace's listing-image rules before the seller uploads it: shopee, lazada or tiktok_shop. Free and read-only: the platform's own deterministic check, which stores nothing, calls no marketplace and uploads nothing. Returns JSON {images: [], price ($0.00), output: {verdict (pass, fail or partial), failed, advice, skipped, file: {width, height, format, bytes}, rules: [{rule, level (required or recommended), status (pass, fail or skipped), expected, measured, fix, reason, source, checked, note}]}, next}. It checks the minimum and maximum size, the square shape, the file type, the file size and a white background; each rule names its source page and the day it was read, and a figure read through search results says UNVERIFIED in its note. The background is read from the pixels, up to 4,194,304 pixels (for example 2048x2048); a JPEG, WebP, GIF, HEIC or interlaced PNG is read through the Images binding at no charge. That one rule is skipped, with every other verdict kept, for a larger image (reason SIMPLER_EDIT_SERVER_PIXELS_TOO_LARGE: run image.convert with width and height 2048, then check the copy), or with the binding's reason when it cannot read the image: SIMPLER_IMAGES_BINDING_ABSENT when this deployment has no Images binding yet (owner step O-2: send a standard PNG copy to check it), or SIMPLER_IMAGES_QUOTA_EXCEEDED, SIMPLER_IMAGES_LEGACY_SUBSCRIPTION, SIMPLER_IMAGES_INPUT_UNREADABLE, SIMPLER_IMAGES_INPUT_TOO_LARGE or SIMPLER_IMAGES_TRAN…

ParamètreTypeRequisDescription
image_urlstringnonProduct photo to check: a public https URL, a data:image/...;base64 URL, or the url/url_path of an earlier image result (max 20MB; PNG, JPEG, WebP or GIF; SVG is refused). Pass this or the matching *_asset_key, not both.
image_asset_keystringnonProduct photo to check, as the asset_key of an earlier image result for this workspace (edit-projects/ /... or images/ /...). A key from another workspace is refused (SIMPLER_MEDIA_FOREIGN_KEY).
platformenum: "shopee" | "lazada" | "tiktok_shop"ouiThe marketplace whose listing-image rules to check: shopee, lazada or tiktok_shop.

video.export_create

Start rendering a studio project to a file: a video, a GIF, the sound mix alone or one poster still (format). Returns job_id immediately; call video.export with job_id to follow progress and receive a download link valid for 24 hours. Refuses, naming the fix, when the project is not exportable, the preset's aspect differs from the project, or the tenant's active-job or daily limit is reached. format picks the file (mp4_h264_aac, webm_vp9_opus, gif, m4a_aac, wav_pcm, poster_jpg; default mp4_h264_aac). Format refusals: a preset other than original with any format but mp4_h264_aac (SIMPLER_STUDIO_EXPORT_FORMAT_PRESET: send preset original); gif longer than 30 s (SIMPLER_STUDIO_EXPORT_GIF_TOO_LONG: trim, or pick a video format); m4a_aac or wav_pcm with nothing audible (SIMPLER_STUDIO_EXPORT_FORMAT_NO_AUDIO: add or unmute sound); poster_jpg without poster_time_ms inside the timeline, or poster_time_ms with another format (SIMPLER_STUDIO_EXPORT_POSTER_TIME). Repeating the same request within 24 hours returns the same job, except a job still waiting for a free renderer: the repeat replaces it with a fresh attempt (the old job then reads SIMPLER_STUDIO_EXPORT_SUPERSEDED). Pricing: free (rendering runs on platform compute, no provider cost). Limits per workspace: 2 renders at a time (SIMPLER_STUDIO_EXPORT_ACTIVE_CAP) and 60 output minutes per rolling 24 hours (SIMPLER_STUDIO_EXPORT_DAILY_QUOTA); wait, or export a shorter cut. A composition_version older than the saved one is refused…

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) to render.
presetenum: "original" | "youtube_16x9" | "shorts_9x16" | "tiktok_9x16" | "reels_9x16" | "feed_1x1" | "feed_4x5" | "x_16x9" …nonEncoder profile; default original (the project's own size and aspect). A preset whose aspect differs from the project is refused.
caption_modeenum: "none" | "burned_in" | "srt" | "both"nonnone (default), burned_in (drawn into the video), srt (a separate captions file), or both.
formatenum: "mp4_h264_aac" | "webm_vp9_opus" | "gif" | "m4a_aac" | "wav_pcm" | "poster_jpg"nonThe output file; default mp4_h264_aac. mp4_h264_aac: H.264 video with AAC sound; plays everywhere and takes the platform presets. webm_vp9_opus: VP9 video with Opus sound; smaller files for the web, but encoding takes about three times as long. gif: Silent looping animation, up to 30 s, at most 480…
poster_time_msintegernonRequired with format "poster_jpg", refused with any other: the timeline millisecond to capture, from 0 to the timeline length minus 1.
composition_versionintegernonOptional: the composition_version you reviewed (studio.get_composition). If a newer version is saved, the export is refused instead of rendering something you have not seen.

video.export

Follow one video export to completion and return its download links. Start the export with video.export_create, then pass the job_id it returned (without job_id this follows the project's newest export). Polls the durable job row every 3s through queued -> processing -> uploading -> completed. On completion it returns download_path (for a session signed in to this workspace) and, when signed links are enabled, download_url (plus captions_url when there is an SRT): a link valid for 24 hours that needs no session; call again with the job_id for a fresh one. While signed links are held off, download_url_unavailable says why. Pricing: free (rendering runs on platform compute, no provider cost), charged by video.export_create, never here. STREAMING SUPPORTED: send Accept: text/event-stream for per-phase progress events. A job waiting for a free renderer reports "Queued (position N)". The files are kept 30 days after the export finishes (files_kept_until), then deleted automatically. Refuses: no such job (SIMPLER_STUDIO_EXPORT_NO_JOB): start one with video.export_create {project_id}; a failed job (SIMPLER_STUDIO_EXPORT_FAILED names the reason): fix it and create a new export; a cancelled job (SIMPLER_STUDIO_EXPORT_CANCELLED): create a new export; deleted files (SIMPLER_STUDIO_EXPORT_OUTPUT_GONE) or files past the 30 days (SIMPLER_STUDIO_EXPORT_EXPIRED, "expired; export again"): render again with video.export_create.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) the export belongs to.
job_idstringnonThe export job (vx_...) video.export_create returned. Omit it to follow the project's newest export.

video.export_delete

Delete a finished video export's files (the mp4 and any SRT) now, before the automatic deletion 30 days after the export finished. Every download link for that job stops working at once; the job record stays, so the daily export limit still counts it. Refuses a job that is still rendering (SIMPLER_STUDIO_EXPORT_DELETE_ACTIVE): stop it with video.export_cancel, or follow it to the end with video.export, then delete it. Refuses an unknown job (SIMPLER_STUDIO_EXPORT_JOB_NOT_FOUND): video.export_create returns job ids. Free.

ParamètreTypeRequisDescription
job_idstringouiThe export job (vx_...) whose files to delete.

video.export_cancel

Stop a video export that is queued or rendering. The job ends as failed with "Cancelled by user.", anything it charged is refunded, the render stops, and any partial file is deleted. Cancelling a job that already finished or failed changes nothing (cancelled: false), so a repeat is safe. Refuses an unknown job (SIMPLER_STUDIO_EXPORT_JOB_NOT_FOUND): video.export_create returns job ids. Refuses a read-only connection (SIMPLER_MCP_SCOPE_READONLY): connect again with the 'mcp' scope. Free.

ParamètreTypeRequisDescription
job_idstringouiThe export job (vx_...) to stop.

studio.begin_asset_upload

Start uploading a video, audio or image file (up to 2 GB) into a studio project. Returns upload_id and the plan: one PUT for a file up to 64 MB, else fixed 64 MB parts, each a PUT to this server with the same Bearer token this MCP connection uses and the part's exact Content-Length. The file's bytes are reserved against the workspace's 20 GB studio upload quota until the upload finishes or is cancelled (after 24 hours without a part). Then call studio.finish_asset_upload. Refuses: a size over 2 GB (SIMPLER_STUDIO_UPLOAD_TOO_LARGE): compress or split the file; a mime outside the list (SIMPLER_STUDIO_UPLOAD_TYPE_UNSUPPORTED): convert the file; the quota (SIMPLER_STUDIO_UPLOAD_QUOTA): GET /api/studio/uploads lists your stored files, then delete unused ones; too many open uploads (SIMPLER_STUDIO_UPLOAD_OPEN_LIMIT): finish or cancel one; an environment without the upload tables (SIMPLER_STUDIO_UPLOAD_TABLES_MISSING): upload in one request with POST /api/studio/projects/{id}/assets. Free. Nothing is sent anywhere; the file only comes in.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) the file belongs to.
filenamestringouiThe file's name, shown in the project's media list.
bytesintegerouiThe file's exact size in bytes.
mimeenum: "video/mp4" | "video/x-m4v" | "video/quicktime" | "audio/mp4" | "audio/m4a" | "audio/x-m4a" | "video/webm" | "video/x-matroska" …ouiThe file's type. The stored bytes are checked when the upload finishes; a file that is not what it declares is deleted and refused.

studio.finish_asset_upload

Finish an upload started with studio.begin_asset_upload once every part is PUT: the stored bytes are checked (the moov box is read wherever it sits), counted against the 20 GB quota, and added to the project's media. Returns {asset_id, media_type, probe}. Calling it again returns the same asset. Refuses: parts not yet sent (SIMPLER_STUDIO_UPLOAD_PARTS_MISSING lists them): PUT them, then finish again; bytes that are not the declared type (SIMPLER_STUDIO_UPLOAD_CONTENT_MISMATCH; the file is deleted): begin again with the real mime; a cancelled or expired upload (SIMPLER_STUDIO_UPLOAD_NOT_OPEN): begin again. Free.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) the upload belongs to.
upload_idstringouiThe upload (vup_...) studio.begin_asset_upload returned.

studio.import_asset_from_url

Copy a video, audio or image file from a public http(s) link into a studio project's media (up to 2 GB, within the 20 GB quota). Returns {asset_id, media_type, probe}, the same as studio.finish_asset_upload. The link is only downloaded; nothing is posted to it. Refuses: localhost, private, link-local or cloud-metadata addresses, or a redirect to one (SIMPLER_STUDIO_IMPORT_URL_REFUSED): give a public link; a link that fails or answers an error (SIMPLER_STUDIO_IMPORT_FETCH_FAILED): check it downloads without signing in; a file over the limit or the quota (SIMPLER_STUDIO_UPLOAD_TOO_LARGE / SIMPLER_STUDIO_UPLOAD_QUOTA): GET /api/studio/uploads lists your stored files, then delete unused ones; a page or unsupported format (SIMPLER_STUDIO_UPLOAD_TYPE_UNSUPPORTED): link to the media file itself; a source that stalls (SIMPLER_STUDIO_IMPORT_TIMEOUT): try again or upload with studio.begin_asset_upload. Free.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) to add the file to.
urlstringouiA public http(s) link that downloads the media file itself.

studio.list_versions

List a studio project's stored versions, newest first: {version, created_at, label, current}, plus every named version (snapshots) and how many of the 20 names are used. A project keeps its newest 20 saved versions, one per 10 minutes for the last day, one per day for the last 30 days, and every named snapshot (up to 20); older unnamed versions are deleted. Refuses: a project_id outside your scope (NOT_FOUND): studio_project_list lists your projects; pass one of their ids; a limit outside 1 to 50 (VALIDATION_ERROR): pass a smaller limit. Free; reads only.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) whose history to use.
limitintegernonHow many of the newest versions to return (default 20). Named versions are always all listed under snapshots.

studio.restore_version

Bring back an earlier version of a studio project: it saves that version as a new version; history is never rewritten, so the version it replaces stays listed and restoring that one undoes this. Returns {version, restored_from, previous_version}. A person editing the project in the browser is told at their next save that a newer version is on the server and reloads. Refuses: a project_id outside your scope (NOT_FOUND): studio_project_list lists your projects; pass one of their ids; a version the project no longer stores (SIMPLER_STUDIO_VERSION_NOT_STORED): call studio.list_versions and pick a listed one; a stored version that no longer passes the composition schema (SIMPLER_STUDIO_VERSION_UNREADABLE): restore a different version; another save landing at the same moment (SIMPLER_STUDIO_RESTORE_CONFLICT): call again. Free.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) whose history to use.
versionintegerouiA version number studio.list_versions lists.

studio.snapshot_version

Name a studio project's version (the current one unless version is given) so it is never deleted by retention; naming a named version renames it. At most 20 named versions per project. Adds no new version, so an editor open on the project keeps saving. Refuses: a project_id outside your scope (NOT_FOUND): studio_project_list lists your projects; pass one of their ids; a label that is empty, over 80 characters or more than one line (SIMPLER_STUDIO_SNAPSHOT_LABEL_INVALID): send one line of 1 to 80 characters; 20 names already used (SIMPLER_STUDIO_SNAPSHOTS_FULL): remove one with studio.remove_snapshot; a project with no saved version (SIMPLER_STUDIO_SNAPSHOT_NOTHING_SAVED): save it first; a version the project no longer stores (SIMPLER_STUDIO_VERSION_NOT_STORED): call studio.list_versions and pick a listed one; an environment where names are not switched on yet (SIMPLER_STUDIO_SNAPSHOTS_UNAVAILABLE): saving and restoring still work; ask the owner to apply DB_MEDIA migration 0005. Free.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) whose history to use.
labelstringouiThe version's name, one line, for example "Approved by client".
versionintegernonThe version to name; the current version when left out.

studio.remove_snapshot

Remove the name from a studio project's named version, freeing one of its 20 names. The version stays stored; from the next save it follows the normal retention and may be deleted. A version without a name answers removed: false. Refuses: a project_id outside your scope (NOT_FOUND): studio_project_list lists your projects; pass one of their ids; a version the project no longer stores (SIMPLER_STUDIO_VERSION_NOT_STORED): call studio.list_versions and pick a listed one; an environment where names are not switched on yet (SIMPLER_STUDIO_SNAPSHOTS_UNAVAILABLE): saving and restoring still work; ask the owner to apply DB_MEDIA migration 0005. Free.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) whose history to use.
versionintegerouiA version number studio.list_versions lists.

studio.get_composition

Read the current composition: scenes in order (with derived start times and generation status; length_estimated: true marks a scene sized by an estimate because its video file reported no length), tracks (id, role, name, locked, muted) and clips, overlays, caption count, total duration, and the assets (the ids every asset_id argument takes). Call when you need fresh truth after edits.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.

studio.get_transcript

Read the caption rows in time order with the ids edit_caption, move_caption and cut_transcript_span take. Each row gives id, type (speech, filler, silence or manual), source (transcription or manual), start_ms, end_ms, speaker when the transcription labelled one, hidden: true for a row remove_fillers hid, text, and words. words lists a transcribed row's words in order, so a word's index is its position there (the from_word_index and to_word_index cut_transcript_span takes); a manual row and a silence row list no words and cut only as a whole row. A long transcript comes back in pages: pass the reply's next_from_row as from_row to read on. Refuses a from_row past the last row, naming the row count.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
from_rowintegernon0-based row to start reading from; 0 when left out.

studio.add_scene

Add a PLANNED scene (storyboard placeholder) to the primary lane — free; no pixels are generated. The prompt is the scene's recipe. NEVER mention camera equipment (crane, dolly, rig) — describe what to SHOW. Say 'camera rises' NOT 'crane shot'. Include: subject, action, lighting, color palette, mood.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
promptstringouiDetailed visual description for the scene.
duration_secondsnumbernonScene duration in seconds (1-30).
positionnumbernon0-based index in scene order; appends when omitted.

studio.add_scene_from_asset

Append an uploaded video or image asset to the main track as a finished scene, or insert it at at_index. Assets longer than 10 minutes become consecutive scenes. A video with no measured length lands as one untrimmed 5s scene marked length_estimated: true, here and in get_composition, until the file is measured in the studio editor. Audio assets are refused; use add_audio_to_timeline.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
asset_idstringouiA video or image asset id (vas_...) from get_composition's assets list.
at_indexintegernon0-based position in scene order; appends when omitted.

studio.delete_elements

Delete several scenes, timeline clips, stickers and captions in one edit: pass 1 to 200 ids in element_ids. All or nothing: an unknown id, a clip on a locked track, or a locked track a scene's cut would move refuses the whole call, names the first offender, and deletes nothing (unlock it with lock_track, or pass ripple_secondary "none"). Scenes follow ripple_secondary as in delete_element: "shift" (default) removes each deleted scene's time from every lane, keeping later clips in sync; "none" closes the main track alone. The receipt's clips_removed and clips_trimmed count each unlisted clip once, however many deleted scenes it spanned. Listed clips leave gaps (ripple_delete closes one); captions hide reversibly (restore_fillers brings them back).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
element_idsarray<string>ouiScene (vs_), clip (vcl_), sticker (vov_) or caption (vc_) ids; duplicates count once.
ripple_secondaryenum: "shift" | "none"nonFor deleted scenes: "shift" (default) removes their time from every lane; "none" closes the main track alone. Clips, stickers and captions ignore it.

studio.shift_clips

Move 1 to 200 timeline clips by the same delta_ms (negative moves earlier), keeping their spacing and their tracks. All or nothing: an unknown clip id, a clip on a locked track, a clip pushed before 0 or past the timeline cap, or a landing that overlaps a clip you did not list refuses the whole call, names the first offending clip, and moves nothing; an overlap refusal gives the nearest delta_ms that fits. Scenes on the main track keep their order and are not clips; use reorder_scenes for them.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idsarray<string>ouiTimeline clip ids (vcl_) from get_composition's tracks; duplicates count once.
delta_msintegerouiMilliseconds to move every listed clip; negative moves them earlier.

studio.duplicate_clips

Copy 1 to 200 timeline clips so the earliest copy starts at at_ms and the others keep their offsets from it, each copy on its original's track. All or nothing: an unknown clip id, a clip on a locked track, copies that would run past the timeline cap, a track that would pass its clip cap, or a copy that overlaps any existing clip (the originals included) refuses the whole call, names the first offender, and copies nothing; an overlap refusal gives the nearest at_ms that fits. Returns new_clip_ids in the order the clip_ids were given.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idsarray<string>ouiTimeline clip ids (vcl_) to copy; duplicates count once.
at_msintegerouiTimeline millisecond where the earliest copy starts.

studio.insert_time

Open length_ms of empty time at at_ms on every lane, so everything at or after at_ms moves later together. The main track receives a placeholder scene there (a pending scene with the prompt "Gap"; fill it with update_scene and generate_scene, or add footage). A scene or voice clip at_ms lands inside is split around the new time; text, stills, captions and stickers that span it stretch. Refuses, naming the fix: at_ms past the end of the main track, a locked track with clips at or after at_ms, at_ms within 100ms of a scene's edge, no free scene slot, the timeline or a stretched clip passing its cap, or a split passing a track's clip cap.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
at_msintegerouiTimeline millisecond where the new time opens, from 0 to the main track's end.
length_msintegerouiHow much time to insert, 100 to 600000ms (one placeholder scene).

studio.ripple_delete

Delete a scene or timeline clip AND close the time it held. scope "all_tracks" (the default) removes that span of time from every lane, so everything after it moves earlier together and stays in sync; clips and captions over the span go with it, and one that crosses its edge is split or shortened. scope "own_track" closes the gap on the element's own lane only (for a scene, the other tracks then drift by its length). delete_element and delete_elements leave a clip's gap open instead. Refuses, naming the fix: an unknown id, a sticker or caption (no lane time to close), a locked track the edit moves, or with all_tracks a clip that runs past the main track's end.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
element_idstringouiA scene (vs_) or timeline clip (vcl_) id from get_composition.
scopeenum: "all_tracks" | "own_track"non"all_tracks" (default) closes the time on every lane; "own_track" closes it on the element's own lane only.

studio.roll_edit

Move the cut between two neighbours by delta_ms (positive moves it later): left_id's end and right_id's start move together, and their footage in/out points follow. The pair's total length and every other element stay where they are. The neighbours are a scene and the next scene, or two touching clips on one track, left one first. Refuses, naming the fix: an unknown id, ids that do not share a cut, a locked track, or a delta that would leave either side under 100ms, past its length cap or past its footage (the refusal gives the delta_ms range that fits).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
left_idstringouiThe scene or clip before the cut.
right_idstringouiThe scene or clip right after the cut.
delta_msintegerouiMilliseconds to move the cut; negative moves it earlier.

studio.slip_edit

Show a different part of a clip's or scene's footage without moving it: its in and out points move by delta_ms of timeline (positive shows later footage), while its position and length stay. Works on video and audio clips and on scenes with finished video. Refuses, naming the fix: an unknown id, text or a still image or a scene with no footage yet (only video and audio can slip), a locked track, or a delta that runs past the footage (the refusal gives the delta_ms range that fits).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idstringouiA video or audio clip (vcl_) or a scene (vs_) with finished video.
delta_msintegerouiMilliseconds to move the footage window; positive shows later footage.

studio.slide_edit

Move a video or audio clip by delta_ms between its neighbours on its track: the clip touching its start gets longer or shorter at its end, the clip touching its end at its start, so the three-clip span and every other track stay put. A side with a gap instead lets the clip move into the gap and no further. Refuses, naming the fix: an unknown id, a scene (scenes reorder with reorder_scenes), text or a still image (move it with shift_clips), a locked track, or a delta that would leave a neighbour under 100ms or past its footage (the refusal gives the delta_ms range that fits).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idstringouiA video or audio clip (vcl_) on a secondary track.
delta_msintegerouiMilliseconds to move the clip; negative moves it earlier.

studio.move_caption

Move ONE whole caption row along the timeline by delta_ms (negative moves it earlier): its start, its end and every word timing move together, so the words keep their spacing. Pick the row by caption_id, or by at_ms: the visible caption showing at that timeline millisecond (hidden rows are skipped). The row stops at 0, at the timeline cap and at the visible caption on either side, so a move never runs into its neighbours. To change only a start or an end, use edit_caption. Refuses, naming the fix: neither caption_id nor at_ms given, an unknown caption_id, no visible caption at at_ms, or a delta_ms outside the range that fits (the refusal gives that range).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
caption_idstringnonThe caption row (vc_) to move. Leave it out and pass at_ms instead to pick the row showing then.
at_msintegernonA timeline millisecond inside the visible caption to move; used when caption_id is left out.
delta_msintegerouiMilliseconds to move the whole row; negative moves it earlier.

studio.cut_transcript_span

Cut the words of a transcript span out of the whole video, the way deleting text in a transcript editor does. The span runs from from_caption_id to to_caption_id (row ids from get_transcript) and takes both rows whole; from_word_index and to_word_index narrow it to a word inside the from row and the to row (0-based, in the order get_transcript lists a row's words). The span's time comes out of every lane through the same cut as cut_range, so the scenes, clips, captions and stickers after it move earlier together, and a transcribed row that loses words keeps the words that are left. cut_start_ms and cut_end_ms report the range applied, which is wider than the span when a scene edge needs it. Not undoable. Refuses, naming the fix: an unknown caption id, a span that runs backwards, a word index on a manual caption or a silence row (neither has word timings, so it cuts only as a whole row), a word index past the row's last word, a span that covers no time, a locked track after the span, and whatever else cut_range refuses there (a span past the timeline end, a scene split with no room).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
from_caption_idstringouiThe caption row (vc_) the span starts in.
to_caption_idstringouiThe caption row (vc_) the span ends in; the same id as from_caption_id for a span inside one row.
from_word_indexintegernon0-based index of the first word to cut in the from row; the row's start when left out.
to_word_indexintegernon0-based index of the last word to cut in the to row; the row's end when left out.

studio.add_track

Add an empty track of a role (video-broll, text, audio-music or audio-voice), up to 16 tracks in the project. The new track lands on top of its role: a video-broll or text track draws over the ones before it (picture-in-picture, a second title layer), an audio track mixes in beside the others. Place clips on it by passing the returned track_id to add_clip_to_timeline, add_audio_to_timeline or add_text_overlay. Refuses at the track cap, naming the fix.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
roleenum: "video-broll" | "text" | "audio-music" | "audio-voice"ouiThe kind of track: video-broll, text, audio-music or audio-voice.
namestringnonA display name up to 40 characters; the role's label shows when left out.

studio.remove_track

Remove one track by track_id. A track that still holds clips is refused unless delete_clips is true, which removes its clips with it. Refuses, naming the fix: an unknown track_id, a locked track, a track with clips and no delete_clips, or the last track of its role (every project keeps one of each).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
track_idstringouiThe track (vtr_) from get_composition's tracks.
delete_clipsbooleannontrue removes the track's clips with it; left out, a track with clips is refused.

studio.move_track

Move a track to position within its own role. Position 0 is the lowest: its pictures draw first, so every later video-broll or text track draws over it. Tracks of other roles keep their order; text always draws over video. Locked tracks may be reordered. Refuses an unknown track_id or a position past the role's last track, naming the fix.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
track_idstringouiThe track (vtr_) from get_composition's tracks.
positionintegeroui0-based position among the tracks of the same role; 0 draws lowest.

studio.rename_track

Give a track a display name up to 40 characters, or pass an empty name to go back to the role's label. Names are for people and never address a track: tools take track_id. Locked tracks may be renamed. Refuses an unknown track_id, naming the fix.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
track_idstringouiThe track (vtr_) from get_composition's tracks.
namestringouiThe new name; an empty string clears it.

studio.set_track_muted

Mute or unmute a whole track. A muted audio track plays nothing and a muted voice track stops ducking the music; a muted video-broll track keeps its pictures and drops its clips' own sound. The preview and the export both honor it, and each clip keeps its own muted and volume. Locked tracks may be muted. Refuses an unknown track_id or a text track, naming the fix.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
track_idstringouiThe track (vtr_) from get_composition's tracks.
mutedbooleanouitrue silences the track; false plays it again.

studio.move_clips_to_track

Move 1 to 200 timeline clips onto another track of the same kind (a b-roll clip to a video-broll track, a title to a text track, music to an audio-music track, a voice clip to an audio-voice track), keeping their spacing; delta_ms also moves them in time (default 0). Stacking follows the track: get_composition lists tracks in stacking order, and a clip on a later video-broll or text track draws over the earlier ones. All or nothing. Refuses, naming the first offender and moving nothing: an unknown clip id or track_id (get_composition lists the ids), a locked source or target track (unlock it with lock_track), a target of another kind (pick a track of the clip's kind, or add one with add_track), a target that would pass its clip cap (move fewer clips, or add a track with add_track), listed clips that overlap each other (move them one at a time), a clip pushed before 0 or past the timeline cap (keep delta_ms within the range the refusal gives), or a landing that overlaps a clip already on the target (use another delta_ms; the refusal gives the nearest one that fits).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idsarray<string>ouiTimeline clip ids (vcl_) from get_composition's tracks; duplicates count once.
track_idstringouiThe target track (vtr_) from get_composition's tracks, of the same role as every listed clip's track.
delta_msintegernonMilliseconds to move the clips in time as they change track; negative moves them earlier. 0 when left out.

studio.place_product_card

Place a product card: a price_tag text clip showing a stock item's name and price, built from values you already hold. studio.insert_product_card reads them from the stock record for you; use this op inside studio.apply_ops or when the values come from elsewhere. The price prints as the currency code and the amount with two decimals (SGD 12.90), never a symbol. style: tag (name over price, lower left), banner (name and price on one line, bottom centre), price_only (the price alone, large, top right); default tag. A name longer than 32 characters is shortened on screen and kept whole in the card's record. Lands on the first text track, or the one track_id names, at start_ms (default 0) for duration_ms (default 4000). Refuses, naming the fix: a blank product_name, an unknown or non-text track_id, a locked text track, a card past the timeline cap, a full track, or an overlap with another clip (the refusal gives the nearest start_ms that fits).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
stock_item_idstringouiThe stock item's id from stock_item_list; kept on the card so it can be refreshed from the record.
product_namestringouiThe item's name as the stock record holds it.
sell_price_centsintegerouiThe selling price in cents (1290 prints as 12.90).
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …ouiThe ISO code the price prints with; the business's sales_settings default_currency.
start_msintegernonTimeline millisecond where the card appears; 0 when left out.
duration_msintegernonHow long the card shows, in milliseconds; 4000 when left out.
styleenum: "tag" | "banner" | "price_only"nonThe card's layout; tag when left out.
track_idstringnonA text track (vtr_) from get_composition; the first text track when left out.

studio.update_scene

Update a scene's prompt or duration. EDIT-INVALIDATES-ASSET: changing the prompt of a generated scene resets it to pending and drops its footage (a stale render cannot survive a prompt edit) — say so before doing it. With ripple_secondary "shift" (the default) the other lanes follow the footage: time the scene loses at its start or end is cut from every lane at that edge, and time it gains is inserted there, so clips, captions and stickers stay over the frames they were placed on (one that spans that edge is split or stretched). "none" changes the main track alone. Refuses a shift that moves a locked track (unlock it with lock_track, or pass ripple_secondary "none").

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringoui
promptstringnonNew prompt (optional).
duration_secondsnumbernonNew duration in seconds (optional).
ripple_secondaryenum: "shift" | "none"non"shift" (default) keeps clips, captions and stickers in sync with the scenes; "none" edits the main track alone.

studio.generate_scene

[$0.10/sec at provider cost] Generate video for a scene from its prompt (text-to-video). Pass scene_id to fill a planned scene, or prompt to create-and-generate in one step. NEVER mention camera equipment (crane, dolly, rig) — describe what to SHOW. Say 'camera rises' NOT 'crane shot'. Include: subject, action, lighting, color palette, mood.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringnonPlanned scene to generate (optional).
promptstringnonVisual description; required when scene_id is omitted.
duration_secondsnumbernonWhole seconds (3-10).
stylestringnonVisual style: cinematic, corporate, playful, dramatic

studio.generate_music

[$0.15/track at provider cost] Generate a background music track from a mood/style description. Returns an audio asset id — place it with add_audio_to_timeline.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
moodstringouiMood/style: uplifting, dramatic, corporate, chill, energetic — or free text.
duration_secondsnumberouiTrack length in seconds.

studio.generate_voiceover

Generate narration audio from a script. voice_tier is the REAL choice the user makes: 'standard' ($0.015/1K chars at provider cost) vs 'premium' ($0.06/1K chars at provider cost) — quote both prices when proposing; never pick silently. Returns an audio asset id.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scriptstringouiThe narration text (max 5000 chars).
voice_tierenum: "standard" | "premium"ouiREQUIRED — the user's explicit price-visible choice.
voicestringnonProvider voice id/name (optional).

studio.add_clip_to_timeline

Place an existing video/image asset on a b-roll track at a position: the first b-roll track, or the one track_id names (a later b-roll track draws over an earlier one, for picture-in-picture). Overlap on that track is refused with the conflicting range so you can re-place or stack it on another track.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
asset_idstringoui
start_time_msnumberoui
duration_msnumbernonDefaults to the asset's duration.
track_idstringnonA video-broll track (vtr_) from get_composition; defaults to the first one.

studio.add_audio_to_timeline

Place an audio asset on a role track: 'audio-music' (background, default volume 0.3 — voice ducks music by role) or 'audio-voice' (narration, volume 1.0). It lands on the role's first track, or on the one track_id names (a second music bed, a second voice).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
asset_idstringoui
trackenum: "audio-music" | "audio-voice"non
start_time_msnumbernon
volumenumbernon0-2; defaults 0.3 for music, 1.0 for voice.
track_idstringnonAn audio track (vtr_) from get_composition; its role wins when track is left out. Defaults to the role's first track.

studio.add_text_overlay

Add a text clip to the first text track, or to the one track_id names (a later text track draws over an earlier one). Pick a semantic preset (title/subtitle/lower_third/callout/price_tag) — it carries complete opinionated styling; override only what matters. Keep text SHORT (max 5-7 words).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
contentstringouiThe text (max 500 chars; aim for 5-7 words).
presetenum: "title" | "subtitle" | "lower_third" | "callout" | "price_tag"non
start_time_msnumbernon
duration_msnumbernonVisible time; keep text readable (3-5s minimum).
positionobjectnonNormalized 0-1; 0.5,0.5 is center.
animationenum: "none" | "fade_in" | "fade_up" | "fade_down" | "slide_left" | "slide_right" | "pop" | "typewriter"non
track_idstringnonA text track (vtr_) from get_composition; defaults to the first one.

studio.update_text_overlay

Update an existing text clip: content, position, timing.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idstringouiText clip id (from get_composition).
contentstringnon
positionobjectnon
start_time_msnumbernon
duration_msnumbernon

studio.add_sticker

Add a sticker/element overlay (creator CTAs, emojis, shapes) at a normalized position with its own time range and animation.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
stickerstringouiCatalog key (e.g. subscribe, sale, live) or emoji name.
emojistringnonEmoji glyph when the sticker is an emoji.
xnumberoui0-1
ynumberoui0-1
start_time_msnumbernon
duration_msnumbernon
animationenum: "none" | "shake" | "glow" | "pulse" | "bounce"non

studio.set_transition

Set a scene's transition (in = how it enters, out = how it leaves). Dissolve creates connection (500-800ms); fade for scene breaks; cut clears the transition.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringoui
directionenum: "in" | "out"non
typeenum: "cut" | "fade" | "dissolve" | "wipe_left" | "wipe_right" | "wipe_up" | "wipe_down" | "slide_left" …oui
duration_msnumbernon

studio.trim_scene

Trim a generated scene's footage: cut milliseconds off its start and/or end. With ripple_secondary "shift" (the default) the other lanes follow the footage: time the scene loses at its start or end is cut from every lane at that edge, and time it gains is inserted there, so clips, captions and stickers stay over the frames they were placed on (one that spans that edge is split or stretched). "none" changes the main track alone. Refuses a shift that moves a locked track (unlock it with lock_track, or pass ripple_secondary "none").

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringoui
trim_start_msnumbernonMilliseconds to cut from the start.
trim_end_msnumbernonMilliseconds to cut from the end.
ripple_secondaryenum: "shift" | "none"non"shift" (default) keeps clips, captions and stickers in sync with the scenes; "none" edits the main track alone.

studio.color_grade

Apply color grading to a scene (each channel -100..100; temperature negative = cool, positive = warm).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringoui
brightnessnumbernon
contrastnumbernon
saturationnumbernon
temperaturenumbernon

studio.adjust_audio_levels

Adjust an audio role's mix: set every clip's volume on every track of that role (or only on the track track_id names) and/or toggle ducking (voice ducks music BY ROLE — no track ids needed).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
trackenum: "audio-music" | "audio-voice"oui
volumenumbernon0-2 linear volume for every clip on the track.
track_idstringnonOne audio track (vtr_) of that role from get_composition; left out, every track of the role.
apply_duckingbooleannonEnable/disable voice-over-music ducking.

studio.update_clip

Move a clip or adjust its volume/mute on any secondary track.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idstringoui
start_time_msnumbernon
volumenumbernon
mutedbooleannon

studio.delete_element

Delete a scene, clip, or sticker by id (captions soft-delete reversibly). Deleting a scene with ripple_secondary "shift" (the default) removes its span of time from every lane, so clips, captions and stickers over the scene go with it and everything after it moves earlier in sync; "none" closes the main track alone. A deleted clip still leaves its gap open whatever ripple_secondary says; ripple_delete closes it. Refuses a clip on a locked track, and a shift that moves a locked track (unlock it with lock_track, or pass ripple_secondary "none").

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
element_idstringoui
ripple_secondaryenum: "shift" | "none"non"shift" (default) keeps clips, captions and stickers in sync with the scenes; "none" edits the main track alone.

studio.remove_silence

Delete every '[silence]' row from the TRANSCRIPT. This cleans up the caption text only - the footage keeps its full length and the pauses still play. To cut the pauses out of the video for real, use remove_dead_air. Silence rows are derived markers, not content, so this is a HARD delete and is not undoable - re-run transcription to get them back.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.

studio.remove_fillers

Hide filler words (um, uh, you know, kind of) from the transcript. REVERSIBLE: rows are soft-deleted, excluded from burn-in and SRT, and restore_fillers brings them back. Read the composition afterwards if you need to see which rows went.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.

studio.restore_fillers

Un-hide transcript rows that were soft-deleted. Scope is EVERY hidden row, not only filler words - a caption hidden by delete_element comes back too. There is no per-row restore.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.

studio.split

Cut a scene or a timeline clip in two at a timeline millisecond. The left half keeps the id; the right half is new and is returned. Both halves must keep at least 100ms of footage or the split refuses. Transitions stay on the outer edges - the new seam is a hard cut.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
target_idstringouiA scene id or a timeline clip id.
at_msnumberouiTIMELINE position of the cut, not an offset into the element.

studio.replace_transcribed

Replace the transcript with fresh rows from your own transcription. Rows the operator hand-edited (source 'manual') SURVIVE - only machine-transcribed rows are replaced, so a re-transcribe never silently discards someone's correction. Rows are re-sorted by start time.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
captionsarray<object>ouiThe new transcript, in any order.

studio.set_config

Set project output settings: aspect ratio, resolution, frame rate, background colour, caption style. Every field is optional - only what you pass changes. Changing aspect does NOT re-crop existing footage (it letterboxes); reframe the scenes if you need the framing to follow.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
aspectenum: "16:9" | "9:16" | "1:1" | "4:5"non
resolutionenum: "720p" | "1080p" | "4k"non
fpsintegernonFrame rate - 24, 25, 30 or 60 only.
background_colorstringnonHex #RRGGBB - what shows in letterbox bars.
caption_presetenum: "default" | "bold" | "neon" | "minimal" | "pop" | "karaoke"non

studio.reorder_scenes

Move a scene to a different position in the primary lane. Positions are 0-based, so to_index 0 makes it the opening scene. Scene start times are DERIVED from order, so every scene after the move shifts in time. With ripple_secondary "shift" (the default) every clip, caption and sticker that sits wholly inside a scene moves with that scene; one that spans a scene edge stays put and is listed in straddling_ids. "none" moves the scenes alone. Refuses a shift that moves a clip on a locked track (unlock it with lock_track, or pass ripple_secondary "none") or lands a moved clip over one that stays put (pass ripple_secondary "none", or move or split that clip first).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringoui
to_indexintegeroui0-based destination position.
ripple_secondaryenum: "shift" | "none"non"shift" (default) keeps clips, captions and stickers in sync with the scenes; "none" edits the main track alone.

studio.trim_clip

Trim a timeline clip's start or end edge to an absolute TIMELINE millisecond. The clip keeps its id and its source in/out points move with the edge, so the footage stays in sync. Refuses if the trim would leave under 100ms, cross a neighbouring clip, or run past the source media.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idstringoui
edgeenum: "start" | "end"oui
at_msintegerouiAbsolute TIMELINE position for the new edge, not an offset.

studio.duplicate_clip

Copy a timeline clip and place the copy immediately after the original on the same track. Refuses if there is no room after it. Returns the new clip id.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idstringoui

studio.lock_track

Lock or unlock a track. A locked track refuses every edit - move, trim, split, duplicate, delete - until it is unlocked. Lock a finished voiceover before restructuring the picture so the timing cannot drift underneath it. track names the role and locks every track of it; add track_id to lock only that one.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
trackenum: "video-broll" | "text" | "audio-music" | "audio-voice"oui
lockedbooleanoui
track_idstringnonOne track (vtr_) of that role from get_composition; left out, every track of the role.

studio.edit_caption

Edit ONE transcript row: its text, its start, its end, or any combination. Times are timeline milliseconds. Editing the TEXT marks the row hand-edited, so a later replace_transcribed will not overwrite it - which is exactly how you correct a name the recognizer got wrong.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
caption_idstringoui
textstringnon
start_msintegernon
end_msintegernon

studio.update_sticker

Move, resize, rotate, fade or re-time a sticker overlay. Only the fields you pass change. Positions are normalized 0-1 of the frame.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
overlay_idstringoui
xnumbernon0-1
ynumbernon0-1
scalenumbernon0.1-10, 1 is native size.
rotation_degnumbernon-360 to 360.
opacitynumbernon0-1.
start_time_msintegernon
duration_msintegernon
animationenum: "none" | "shake" | "glow" | "pulse" | "bounce"non

studio.cut_range

Cut a span of TIME out of the whole video. Everything after it moves earlier by the same amount, on every lane at once - scenes, clips, captions and stickers stay in sync. A scene or voice clip the cut lands inside is SPLIT, so the material after the cut still plays. A scene piece the cut would leave under 100ms merges into the scene beside it; when no scene beside it has the footage, the cut widens to that scene's edge on every lane, and cut_start_ms / cut_end_ms report the range applied. Refuses when splitting a scene would pass the 100-scene cap (delete a scene first) and when a locked track holds clips after the cut (unlock it with lock_track). Not undoable.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
start_msnumberouiWhere the cut starts, in ms on the timeline.
end_msnumberouiWhere the cut ends, in ms on the timeline.

studio.remove_dead_air

Cut every silent pause the transcript found OUT OF THE FOOTAGE, keeping a little breathing room at each one. This is the real edit, not a transcript cleanup: the video gets shorter. Needs a transcript first (transcribe). Not undoable.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
min_silence_msnumbernonOnly cut pauses at least this long. Below ~400ms you are cutting natural speech rhythm.
keep_msnumbernonBreathing room left at the end of each pause. 0 makes speech run together.

studio.transcribe

[$0.0043/min at provider cost] Transcribe an audio or video asset into word-timed captions. REPLACES every previously transcribed caption on this project; captions you wrote by hand survive. Speaker labels are asked for: a row carries speaker (Speaker 1, Speaker 2, ...) only when the recognizer labelled its words, and the reply's speaker_count is 0 when it labelled none. Read the rows with get_transcript; follow with remove_fillers / remove_silence to clean the transcript.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
asset_idstringouiAsset to transcribe (audio or video) - read the ids from get_composition.
languagestringnonLanguage hint such as 'en' or 'ms'. Omit to auto-detect.

studio.reframe_scene

Re-frame one scene for a different aspect ratio: re-centres and scales the EXISTING footage on a focus point (no new pixels; needs the source dimensions). FREE (platform geometry, no provider). New edges (outpainting) are not offered.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringouiScene to re-frame.
target_aspectenum: "16:9" | "9:16" | "1:1" | "4:5"ouiAspect to frame for.
methodenum: "analytic"nonanalytic = crop/scale the existing footage (the one method).
focus_xnumbernonFocus point across the frame, 0-1.
focus_ynumbernonFocus point down the frame, 0-1.

studio.style_transfer

[$0.336/sec at provider cost] Restyle a scene's footage, keeping its motion. style must be one of the presets (anime, comic, watercolor, oil_painting, sketch, cinematic, vintage, neon). A free-text style is refused, because free text over the user's footage could change who appears in it; pick the closest preset instead. Mints a NEW asset - the original is never destroyed.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringouiScene whose footage to restyle.
styleenum: "anime" | "comic" | "watercolor" | "oil_painting" | "sketch" | "cinematic" | "vintage" | "neon"ouiA preset key: anime, comic, watercolor, oil_painting, sketch, cinematic, vintage, neon. Free text is refused.

studio.enhance_audio

Clean up an audio clip on the timeline: noise removal, voice shaping, loudness normalization. FREE (platform compute, no provider). Mints an enhanced asset beside the original - the original is never destroyed.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
clip_idstringouiAudio clip on the timeline to enhance.
noisebooleannonRemove background noise.
voicebooleannonShape for speech (high-pass, compress, de-ess).
normalizebooleannonNormalize loudness to broadcast level.

studio.apply_template

Append a stored choreography - its scenes (as PENDING prompts, nothing generated yet) plus its text timing - onto this composition. FREE. Templates: tpl_product_showcase (Perfect for product demos and commercials); tpl_social_clip (Vertical format perfect for TikTok, Reels, and Shorts); tpl_explainer (Classic explainer video structure); tpl_testimonial (Square format ideal for customer testimonials); tpl_ad_bumper (Short 6-second ad bumper); tpl_announcement (Perfect for news, launches, and important updates); tpl_story_highlight (Vertical story format for Instagram Stories and similar platforms); tpl_tutorial_intro (Professional intro for tutorials and how-to videos).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
template_idenum: "tpl_product_showcase" | "tpl_social_clip" | "tpl_explainer" | "tpl_testimonial" | "tpl_ad_bumper" | "tpl_announcement" | "tpl_story_highlight" | "tpl_tutorial_intro"ouiWhich choreography to apply.

studio.set_ducking

Configure the voice-over-music ducking mix intent (by role; the renderer honors it).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
enabledbooleanoui
duck_levelnumbernonMusic level under voice, 0-1 (default 0.3).

studio.analyze_scene

Look at a generated scene's actual frames (vision) and describe subject, lighting, composition, mood. Make editing decisions based on what you SEE, not assumptions. Refuses with SIMPLER_STUDIO_VISION_NONE while no model on this platform can look at video frames (nothing is sent or spent): judge the scene from its prompt and the composition instead.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringoui
focusstringnoncomposition, lighting, mood, pacing, all

studio.request_regeneration

Flag a generated scene that does not match intent: record WHY and an improved prompt. This stages the improved prompt on the scene (regeneration is a separate paid, user-approved step — it never silently destroys footage or spends).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this tool acts on.
scene_idstringoui
reasonstringouiWhy it needs regeneration.
improved_promptstringouiThe improved prompt.

studio.apply_ops

Apply several edits atomically against base_version; any refusal applies nothing and names the failing op. Small models: prefer the single-purpose verbs. Each op is {op, args}; the ops and their args are: add_scene_from_asset {asset_id, at_index?}; delete_elements {element_ids, ripple_secondary?}; shift_clips {clip_ids, delta_ms}; duplicate_clips {clip_ids, at_ms}; insert_time {at_ms, length_ms}; ripple_delete {element_id, scope?}; roll_edit {left_id, right_id, delta_ms}; slip_edit {clip_id, delta_ms}; slide_edit {clip_id, delta_ms}; move_caption {caption_id?, at_ms?, delta_ms}; cut_transcript_span {from_caption_id, to_caption_id, from_word_index?, to_word_index?}; add_track {role, name?}; remove_track {track_id, delete_clips?}; move_track {track_id, position}; rename_track {track_id, name}; set_track_muted {track_id, muted}; move_clips_to_track {clip_ids, track_id, delta_ms?}; place_product_card {stock_item_id, product_name, sell_price_cents, currency, start_ms?, duration_ms?, style?, track_id?}. base_version is the composition_version you last read; a stale one is refused with a 409 that carries head_version, so re-read with studio.get_composition and resend. Send 1 to 50 ops per call.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_…) this batch edits.
base_versionintegerouiThe composition_version your ops were planned against (0 for a project with no saved composition).
opsarray<object>ouiThe edits, applied in order; all land or none do.

studio.suggest_social_clips

Find the best short-form moments in a long studio video and return them as ranges with a title, a hook line, a one-sentence rationale and measured evidence (captioned words, words per second, whether it starts on a scene cut). It creates and changes nothing. To make a suggestion into a project, call studio.create_social_clip with its start_ms and end_ms; then render that project with video.export_create and the same preset. Pass count (1 to 10), target_preset (default shorts_9x16; it sets the shape and the longest length, never over 60 s) and optionally asset_id to use only the scenes cut from one uploaded video. Costs up to about $0.0012 per call for the model; the wallet is checked first and an unfunded wallet gets PAYMENT_REQUIRED with nothing charged. Refuses, with nothing charged: a project with no finished footage (COLD_START: add footage with studio.add_scene_from_asset or studio.generate_scene), an asset_id that is not a video or not on the timeline yet (place it with studio.add_scene_from_asset), footage shorter than 5 s, read-only tokens and viewer roles. A pick outside the real footage is dropped with its reason in 'dropped', never stretched to fit.

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) holding the long video. studio_project_list shows your projects.
asset_idstringnonOptional: suggest only from the scenes cut from this video asset (vas_...). studio.get_composition lists the assets; the asset must already be on the timeline (studio.add_scene_from_asset places it).
countintegernonHow many suggestions to return, 1 to 10 (default 3). Fewer can come back when the video has fewer distinct moments.
target_presetenum: "original" | "youtube_16x9" | "shorts_9x16" | "tiktok_9x16" | "reels_9x16" | "feed_1x1" | "feed_4x5" | "x_16x9" …nonThe export preset the shorts are for (default shorts_9x16). It sets the shape and the longest allowed length; pass the same preset to studio.create_social_clip and video.export_create.
focusstringnonOptional: what to look for, such as 'the product demo'. It only ranks moments; it is never treated as an instruction.

studio.create_social_clip

Make one short as a NEW studio project from a range of an existing project: the finished scenes in the range are trimmed copies (no footage is generated or billed again), the captions move with them and the new project takes the target preset's shape. The source project is not changed. Free. Use the start_ms, end_ms and composition_version from studio.suggest_social_clips. Calling again within 24 hours with the same range, preset and version returns the same project (replayed: true) instead of a second copy; after 24 hours the same call makes a new project. Refuses, creating nothing: a composition_version that is no longer current (409 SIMPLER_STUDIO_CLIPS_STALE_VERSION names the current version; suggest again or resend with it), the same short made within 24 hours whose project was since deleted (409 SIMPLER_STUDIO_CLIPS_EARLIER_SHORT_GONE; move start_ms or end_ms by a few milliseconds to make it again), a range outside one stretch of finished footage or outside 5 to 60 s (shorter still when the preset's own limit is lower), read-only tokens and viewer roles. Next: video.export_create with the returned project_id and the same preset.

ParamètreTypeRequisDescription
project_idstringouiThe source studio project (vp_...) the suggestion came from.
start_msintegerouiWhere the short starts on the source timeline, in milliseconds (a suggestion's start_ms).
end_msintegerouiWhere the short ends on the source timeline, in milliseconds (a suggestion's end_ms).
target_presetenum: "original" | "youtube_16x9" | "shorts_9x16" | "tiktok_9x16" | "reels_9x16" | "feed_1x1" | "feed_4x5" | "x_16x9" …nonThe export preset the short is for (default shorts_9x16); the new project takes its shape.
titlestringnonOptional name for the new project (a suggestion's title).
composition_versionintegernonThe source composition_version the range was chosen on (the suggest result carries it). When the source has changed since, nothing is created and the answer names the current version.

studio.insert_product_card

Put a stock item's name and selling price on the video as a product card: a price_tag text clip on the first text track (or the one track_id names), from start_ms for duration_ms. It reads the stock record as you, so the card shows what stock_item_read shows; the values are copied into the project, and later stock edits do not change a card already placed. The price prints with the currency code (SGD 12.90), taken from the business's sales_settings default_currency unless you pass currency. style: tag (name over price, lower left), banner (name and price on one line, bottom centre), price_only (the price alone, large, top right). Free. The result names the clip, its track and the text shown. Refuses, placing nothing: an unknown stock_item_id (stock_item_list lists the ids), a retired item (restore it with stock_item_update, is_active 1), an item with no sell_price_cents (set it with stock_item_update), no currency (pass currency, or save one with sales_settings_upsert), a token without the stock namespace (reconnect with stock in scope, or pass the values yourself to studio.place_product_card), a locked, unknown or non-text track, and an overlap with another clip (the refusal gives the nearest start_ms that fits).

ParamètreTypeRequisDescription
project_idstringouiThe studio project (vp_...) the card goes into.
stock_item_idstringouiThe stock item to show, from stock_item_list; its name and sell_price_cents are copied onto the card.
start_msintegerouiTimeline millisecond where the card appears.
duration_msintegernonHow long the card shows, in milliseconds; 4000 when left out.
styleenum: "tag" | "banner" | "price_only"nonThe card's layout; tag when left out.
currencyenum: "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "AUD" | "HKD" | "INR" …nonThe ISO code the price prints with; the business's sales_settings default_currency when left out.
track_idstringnonA text track (vtr_) from studio.get_composition; the first text track when left out.

platform.request_capability

File a missing-capability report when no available tool can accomplish your task. The platform operator reviews these to decide what gets built next. Free; capped at 10 reports per tenant per day. Refuses: VALIDATION_ERROR when intent is under 10 characters (describe the task in a sentence), RATE_LIMITED after 10 reports in 24 hours (wait the retry_after seconds it carries).

ParamètreTypeRequisDescription
intentstringouiWhat you were trying to accomplish (plain language).
attempted_toolsstringnonTools you tried, comma-separated.
why_insufficientstringnonWhy the existing tools fell short.
proposed_shapestringnonOptional: the tool shape that would have worked.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://simpler.asia/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http simpler-asia https://simpler.asia/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : simpler-asia ; URL : https://simpler.asia/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : simpler-asia ; Server URL : https://simpler.asia/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "simpler-asia": {
      "url": "https://simpler.asia/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "simpler-asia": {
      "type": "http",
      "url": "https://simpler.asia/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "simpler-asia": {
      "url": "https://simpler.asia/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "simpler-asia": {
      "httpUrl": "https://simpler.asia/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.simpler-asia]
url = "https://simpler.asia/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

Simpler.Asia · L’Atlas · Test du

Markdown
[Simpler.Asia — L’Atlas](https://latlas.dev/mcp/asia.simpler/simpler-asia)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.