Skip to Content
MCPTool guide

Hosted tool guide

The hosted tools reference is generated from the application’s tool registry and answers which tools exist, which a connection lists, and which can spend money. This page answers how to call them. Every parameter below is taken from the tool’s registered input schema, so the types, bounds, defaults, and required-ness are the ones the server enforces.

The page is in two parts. Part 1 covers the 17 tools a connection lists when it names no profile: those are enough for almost every request. Part 2 covers the other 28, which stay callable by their exact name.

How to read this page

  • Required means the schema has no default and the field is not optional. A missing required field fails validation before the tool runs.
  • Every string bound is a character count. Every numeric bound is inclusive.
  • Unknown fields are rejected. Every hosted input schema is strict, so a misspelled field fails validation instead of being silently ignored. That matters most on paid tools.
  • Tools that write take an idempotencyKey of 8–200 characters. Reuse it only when repeating the identical request; a changed intent needs a new key.
  • Every tool that writes, imports, or generates needs an explicit destination or canvasId. There is no shared fallback canvas any more: the Agent Canvas is retired, and "agent-canvas" is refused with a message telling you to create a task canvas. Create one with canvas_create and reuse its handle for the whole task.

What a failure looks like

A failed call returns an MCP error result whose text is a JSON object:

{ "error": { "code": "insufficient_scope", "message": "Reconnect Gavana with the required permission: job:manage.", "status": 403 } }

It can also carry fields (which inputs failed validation, and why), details (structured context such as which node conflicted or which findings blocked a write), and requestId.

code or statusMeansDo
400, message “The Gavana tool input is invalid.”, with fieldsThe input failed the schema: a missing field, a value out of range, an unknown fieldFix the named fields. Nothing ran.
insufficient_scope (403)The connection lacks a permission the tool needs. The result also carries an OAuth challenge naming itReconnect with that permission. Nothing ran.
toolset_not_enabled (400)The connection URL withheld this tool, through toolsets, excludeTools, or a profileUse a connection that includes it. Reconnecting the same URL will not help.
rate_limited (429)Too many tool calls on this tokenWait the number of seconds in the message.
404, “Unknown Gavana tool”No hosted tool has that nameCheck the spelling against the hosted tools reference.
invalid_tool_output (502)Gavana produced a result that failed its own output contract. The action may already have completedRead the handles in details before considering any retry.

Scope, gating, and validation refusals happen before the tool runs, so a refused call never starts paid work.

Queued progress and nextAction

Image generation returns as soon as the work is queued. Any result whose status is still pending, preparing, queued, running, finalizing, or canceling carries a nextAction naming the tool and arguments to call next, for example:

{ "nextAction": { "tool": "get_image_run", "arguments": { "runId": "run:9f3a2b" }, "reason": "Work is still in progress. Read this handle again; do not start another paid generation." } }

Follow it, even when it names a tool the connection does not list. If the connection cannot call the status tool at all, the result carries continuation: { "available": false, ... } instead: keep the handle and stop.

Seven tools can incur provider cost: generate_image_in_canvas, edit_image_in_canvas, generate_product_photoshoot_in_canvas, generate_video, run_canvas_workflow, recipe_run, and work_execute. Get explicit approval in the current turn before calling one, and never retry one automatically after a failure.


Part 1 — the 17 listed tools

guide_get

Read the optional Gavana Canvas Agent Guide: the topic list, one topic, or a ranked search.

Read-only. Requires no scope. No provider cost.

The guide is help, not a procedure to run before every call. A simple read, save, edit, or single image needs no guide. When the person’s request and a guide default disagree, the request wins.

Parameters

ParameterTypeRequiredNotes
guideIdstring, 1–600 charsNoA topic ID such as existing-canvases, an exact gavana://guides/canvas/v1/... URI, or index. Omitted means the index.
querystring, max 240 charsNoSearch instead of reading one topic. Returns ranked topic IDs.
limitinteger, 1–10No, defaults to 10Only valid together with query.

Pass guideId or query, never both. A call with query is the same request as the older guide_search, so a connection that excluded guide_search refuses it with toolset_not_enabled.

What it returns

A topic:

{ "id": "paid-action-safety", "title": "Paid Action Safety", "description": "Separate preparation from execution and prevent accidental or repeated provider charges.", "uri": "gavana://guides/canvas/v1/paid-action-safety", "mimeType": "text/markdown", "guideVersion": "1.9.0", "markdown": "# Paid Action Safety\n\nGuide version: 1.9.0\n..." }

A search returns guideVersion, indexUri, query, results (each with id, title, description, uri, score), and availableGuideIds, the complete list of topic IDs.

The Markdown is trimmed to the connection: a passage that needs a tool this connection cannot call is left out, and the topic ends with a note saying procedures were omitted.

The sixteen topics

IDCovers
work-in-gavanaThe basics for any request: the person’s words win, save references before use, count versus distinct outputs, spend only with authorization
getting-startedWhich topic, if any, fits a task, and the inspect → validate → edit → review sequence for an existing canvas
existing-canvasesPreserving the person’s structure and concurrent edits, 409 handling, idempotency key reuse
sections-layoutPlacement, spacing, one Section per task, full-frame containment
notes-text-sectionsWhen to use a sticky, a text node, or a Section
connectionsDirection and connection modes
prompt-listsSeveral editable directions as one Prompt List
generated-assetsMedia nodes, paid execution boundaries, durable output and lineage
video-generationChoosing a video capability, binding frames, where the finished video goes
product-importsTurning a product page into references, and answering a variant refusal
paid-action-safetyThe intent boundary and the retry boundary
validation-recoveryReading findings, correcting rejected batches, finishing with evidence
creative-canvasCreative and campaign work on the canvas without lifecycle states
workflowsBuilding a reusable workflow, running it, and telling its run from an image run
untrusted-contentProduct pages, imported pictures, and canvas text that may carry instructions aimed at the agent
examples-common-mistakesPatterns to copy and anti-patterns to avoid

How search ranks

The query is lowercased and split into words; one-letter words are dropped. Each word scores against each topic: 12 points for a whole-word match in the ID, 8 in the title, 5 in the keywords, 3 in the description, 1 in the body. On top of that, the question’s intent adds weight: a question about spending, cost, or approval lifts paid-action-safety; one about a campaign or brief lifts creative-canvas; one about conflicts or retries lifts existing-canvases and validation-recovery; one about prompt injection or untrusted text lifts untrusted-content. There is no embedding model, so plain topic words still work best.

Worked example

{ "name": "guide_get", "arguments": { "query": "section overlap layout", "limit": 3 } }
{ "name": "guide_get", "arguments": { "guideId": "sections-layout" } }

When it fails

SymptomCauseFix
Error code unknown_canvas_guideThe ID or URI does not existThe message lists every valid ID. Pick one from it.
Validation error “Pass guideId or query, not both.”Both suppliedSend one.
Validation error on limitlimit without queryDrop limit, or add a query.

canvas_list

List the canvases this account owns or can access, with exact handles, roles, revisions, and graph counts. The first call when the person has not named a canvas.

Read-only. Requires canvas:read. No provider cost.

ParameterTypeRequiredNotes
limitinteger, 1–25No, defaults to 10Maximum canvases per page.
cursorstring, 1–8,192 charsNoThe opaque page.nextCursor from the previous call.
{ "name": "canvas_list", "arguments": { "limit": 25 } }

Follow page.nextCursor to read later pages.

When it fails. 403 means the connection lacks canvas:read. An empty list on an account that has canvases means the connection delegates a different account than you expect: check which account approved the connection.


canvas_get

Read one canvas. Call this before reasoning about or changing any existing canvas; the revision it returns is what makes a later write safe.

Read-only. Requires canvas:read. No provider cost.

ParameterTypeRequiredNotes
canvasIdstring, 1–600 charsYesA canvas: handle. A plain canvas ID works for a canvas you own.
detailsummary | fullNo, defaults to fullsummary returns compact nodes in pages; full returns complete node metadata.
nodeIdsarray of 1–100 IDsNoRead only these nodes and the connections touching them.
offsetinteger, 0 or moreNo, defaults to 0Page start for summary.
limitinteger, 1–100No, defaults to 50Page size for summary.
includeActivitybooleanNo, defaults to falseInclude the canvas history. Only allowed on an unfiltered full read.

The default call returns the complete graph without history. On a large board, browse with detail: "summary", then read the nodes you care about with detail: "full" and nodeIds.

A summary or filtered read carries a readContext with graphComplete: false, the revision, totals, nextOffset for the next page, and any missingNodeIds. A partial read is not the whole graph: validate a spatial change against the server, not against a page you read.

Every canvas_get result carries url, a verified browser link to the canvas. Give that to the person; there is no need for a second call.

When it fails. 404 means the handle is wrong; take it from canvas_list. A validation error “History requires an unfiltered full Canvas read.” means includeActivity was combined with summary or nodeIds.


canvas_create

Create an empty private canvas for one task and return its handle, initial revision, and browser link.

Not read-only. Requires canvas:read and canvas:write. No provider cost.

ParameterTypeRequiredNotes
titlestring, 1–160 charsYesA short name, in the person’s language.
idempotencyKeystring, 8–200 charsNoRecommended. Reusing it with the same title and workspace returns the original canvas instead of making a second one.
workspaceIdstring, 1–180 charsNoDefaults to the personal workspace. A shared workspace requires editor membership.
idstring, 1–180 charsNoExplicit canvas ID, for compatibility. Cannot be combined with idempotencyKey.
{ "name": "canvas_create", "arguments": { "title": "Spring launch — hero images", "idempotencyKey": "spring-launch-hero-2026-10-05" } }

Keep the returned canvas.handle and use it as the destination or canvasId of every later save, edit, import, and generation in the task. One task, one canvas: never create a canvas per operation. New canvases are private, even in a shared workspace.

When it fails. Changing the title or workspace while reusing a key is rejected as a conflict: the key already names a different canvas. Supplying both id and idempotencyKey fails validation.


canvas_validate

Lint a canvas, review the nodes one task touched, or dry-run a proposed batch against the real server-side engine without applying it. The most useful tool on the hosted surface, and the one most often skipped.

Read-only. Requires canvas:read. No provider cost. Validation never mutates the canvas and never consumes an idempotency key.

ParameterTypeRequiredNotes
canvasIdstring, 1–600 charsYesA canvas: handle.
operationsarray of objects, max 200NoProposed canvas_apply_batch operations. Their presence switches the tool into dry-run mode.
baseRevisionstring, 1–200 charsNoThe revision you read. If the canvas has moved on, validation returns 409 instead of judging a stale proposal.
nodeIdsarray of 1–200 IDsNoScope the review to the nodes this task touched. Findings on other work become advisory.
expectedOutputNodeIdsarray of 1–200 IDsNoEvery output node the task promised, including ones that do not exist yet, so a missing output is reported.

nodeIds and expectedOutputNodeIds belong to a review of the current canvas; combining them with operations is refused, because a dry-run derives its own scope.

What it returns

{ "guideVersion": "1.9.0", "scope": "current", "canvas": { "handle": "canvas:abc123:brand-refresh", "revision": "rev_00291", "nodeCount": 34, "connectionCount": 21 }, "summary": { "errors": 0, "warnings": 2, "info": 1, "truncated": false, "passed": true, "reviewRequired": true }, "findings": [ { "code": "node_overlap", "severity": "warning", "message": "node:a1b2 overlaps node:c3d4.", "nodeHandles": ["node:a1b2", "node:c3d4"], "guideUri": "gavana://guides/canvas/v1/sections-layout" } ], "completionReview": { "status": "ready", "doneClaimAllowed": true, "scope": "canvas", "...": "..." } }

A dry-run adds currentCanvas, proposal (the graph the operations would produce), and destructiveImpact.

Reading the summary. passed means zero errors and nothing more. reviewRequired is true when there are errors, warnings, or truncated findings: treat it as “look before writing”. truncated means a code hit its cap of 50 findings, or overlap analysis gave up on a very large or spread-out canvas; truncatedCodes names which.

completionReview is the field that decides whether work may be called done. doneClaimAllowed is true only when no blocking finding remains and every generated output in scope is delivered: none pending, failed, missing, or without a stored result. It also reports outputs (counts and handles), delivery, layout, and productFidelity, and says plainly that a structural check is not a visual review. With nodeIds, the review is scoped to the task and other sessions’ work does not block it.

Finding codes

CodeSeverityMeans
invalid_node_geometryerrorPosition or size is non-finite, non-positive, or out of range (coordinates within ±10,000,000; width and height up to 10,000).
broken_connectionerrorA connection points at a node that does not exist.
unclear_connectionerror, warning, or infoA self-connection, a frame edge that does not run image → video, a Section used as a workflow endpoint, or two media nodes joined with no mode.
duplicate_connectionwarningTwo visible connections share source, target, and mode.
node_overlapwarningTwo ordinary nodes overlap. Blocks the write when your batch causes it.
section_overlapwarningTwo Sections intersect without one fully containing the other.
section_content_overflowwarningA node’s frame escapes the Section that contains it. Blocks the write when your batch causes it.
unsectioned_nodeinfoAn agent-created node sits outside every Section. Put each task’s nodes in a titled Section of your own.
malformed_sectionerrorA node marked as a Section is not a text node of at least 200 × 160.
fake_section_headerwarningA wide or large-font text node with no connections is imitating a Section header.
unconnected_generated_outputwarningA generated image or video has no incoming relationship or output parent.
orphan_media_placeholderwarningAn empty media node with no relationship to anything.
broken_generated_lineageerrorA lineage field points at a node that is not on the canvas.
unused_product_referencewarningAn imported exact product reference that no generated output on the canvas used. Prompt-only output is not the exact product.
proposed_destructive_changewarningDry-run only: the batch deletes a node or connection, and the message says how many connections go with a node.

Every finding carries a guideUri pointing at the topic that explains the rule. A finding may also carry blocksWrite (the batch would be refused) or blocksCompletion (done may not be claimed while it stands).

destructiveImpact

The deletion summary to show a person before applying anything: deletedNodeHandles, deletedConnectionHandles, mediaNodeHandles (image or video nodes), generatedNodeHandles (nodes produced by a generation, an Action, or a variation: work that cost something to make), and findings. A non-empty generatedNodeHandles deserves an explicit confirmation, not a summary line.

When it fails

SymptomCauseFix
409The canvas changed after baseRevisionRead it again, rebase your operations, and re-validate.
400 “Affected node was not found on this canvas.”A nodeIds entry is not on the canvasUse expectedOutputNodeIds for outputs that do not exist yet.
400 “Use scoped review separately from proposed operation validation”nodeIds or expectedOutputNodeIds combined with operationsMake two calls.
Validation error on operationsMore than 200Split the work. 200 is the cap on validate and apply.

The full sequence is on Validate a batch before applying.


canvas_apply_batch

Apply related node and connection operations atomically against one exact canvas revision. The way the hosted server edits a canvas graph.

Not read-only. Annotated destructive. Requires canvas:read and canvas:write. No provider cost: a batch never starts generation.

ParameterTypeRequiredNotes
canvasIdstring, 1–600 charsYesA canvas: handle.
idempotencyKeystring, 8–200 charsYesOne key per intended payload.
operationsarray of objects, 1–200YesThe batch. Shapes below.
baseRevisionstring, 1–240 charsNoThe revision you read. Omit it only for a canvas you just created; otherwise you lose conflict detection.
forcebooleanNo, defaults to falseApply even when the batch causes error-severity findings. Only after canvas_validate, and only when the person explicitly accepts the listed findings.

Atomic means all or nothing: if one operation is rejected, the canvas is untouched.

Operation shapes

The engine accepts eight operation types. Full field schemas are on the Canvases API resource.

typeRequired fieldsOptional
canvas.update—title (max 160), backgroundMode (dots | lines | blank), showImageInfo, viewport
node.createnodeclientId
node.updatenodeId, patch—
node.movenodeId, position—
node.resizenodeId, width, height—
node.deletenodeId—
connection.createconnection, or both from and toclientId, mode
connection.deleteconnectionId—

A node is image, video, text, or sticky, with title (max 160), position, width and height (each 40–10,000), and metadata. A connection’s mode is list, reference, first-frame, last-frame, or prompt; omit it for a plain dependency flow. Node references accept node:<id>, a bare ID, or client:<clientId> for a node created earlier in the same batch.

What it returns

A receipt, not the canvas:

{ "wrote": true, "replayed": false, "canvas": { "handle": "canvas:abc123:brand-refresh", "revision": "rev_00292", "title": "Brand refresh", "nodeCount": 37, "connectionCount": 22 }, "resolvedIds": { "brief": "node:k2m4" }, "changedNodeIds": ["node:k2m4"], "deletedNodeIds": [], "changedConnectionIds": [], "deletedConnectionIds": [], "validation": { "summary": { "errors": 0, "warnings": 0, "reviewRequired": false }, "...": "..." } }

resolvedIds maps each clientId to the handle it became. replayed: true means this key already applied this payload and nothing new was written. validation is scoped to the nodes and connections this batch changed. Read the canvas with canvas_get when you need the graph itself.

Rules the engine enforces

  • Media is server-owned. You cannot write image or video bytes, storage keys, or media URLs into metadata.content. Use save_image_to_canvas or a generation tool.
  • A Section is a text node with metadata.isSection: true, at least 200 × 160, and its children’s full frames inside its bounds. Membership is recomputed by the server after every batch.
  • Your batch may not create overlap or Section overflow. When the operations would make new nodes overlap, or push a node’s frame out of its Section, the batch is refused without writing. Historical findings elsewhere on the canvas stay advisory and do not block an unrelated edit.

When it fails

SymptomCauseFix
409Revision conflictRe-read, rebase around the concurrent change, retry. Never resolve it by dropping baseRevision.
422 “The batch was not applied: N error-severity validation finding(s) block this write.”Your operations would cause blocking findings; details.blockingFindings lists themFix the listed operations and confirm with canvas_validate. Pass force: true only when the person explicitly accepts them.
Operation rejected, nothing appliedA malformed operationFix the named operation. Do not re-send the batch minus the failure unless that is genuinely the intent.
Rejected for metadata.contentMedia content on an image or video nodeUse save_image_to_canvas or generate_image_in_canvas.

get_canvas_image

Read one image node and return an inline preview the model can look at, plus a temporary full-resolution link.

Read-only. Requires canvas:read. No provider cost.

ParameterTypeRequiredNotes
canvasIdstring, 1–600 charsYesA canvas: handle.
nodeIdstring, 1–600 charsYesA node: handle or plain node ID.

Returns the node handle, asset ID, title, media type, width, height, a scoped previewUrl, and previewExpiresInSeconds, plus the picture inlined as WebP (longest edge 2,048 px, quality 88; retried at 1,536 px and quality 72 if it exceeds 5 MB). If the picture cannot be inlined, the result carries an image_preview_not_inlined notice and the preview link instead; the image itself is fine.

The token in the preview URL makes it a credential until it expires. Do not paste it into a shared document, a ticket, or a log. To show a person the image, give them the canvas url from canvas_get.

SymptomCauseFix
400 “not an image”The node is text, sticky, or videoRead the canvas and pick an image node.
409 “does not have a stored result”An empty placeholder: generation unfinished or never startedCheck the run. Do not start a generation to work around it.
413Source over 50 MB, or the preview still over 5 MBUse the full-resolution link.
415Stored bytes are not PNG, JPEG, WebP, or GIFReport it.

save_image_to_canvas

Put one existing image on a canvas as a durable image node and return its node: handle — or, given a product page, import that product’s verified gallery as references. This imports; it never generates or edits.

Not read-only. No provider cost. Requires canvas:read, canvas:write, asset:read, and image:generate for a single image. A productPageUrl import is authorized as import_product_reference_pack and needs canvas:read, canvas:write, and asset:read.

A single-image save needs image:generate even though it generates nothing: that permission governs writing image bytes into Gavana storage. A connection with canvas:write alone cannot save an image.

Parameters

Name exactly one source: image, imageUrl, assetId, or productPageUrl.

ParameterTypeRequiredNotes
imageobjectOne sourceA file the client hands to the tool: download_url (URL, max 4,096), file_id (1–1,000), optional mime_type and file_name. Prefer it when the client has the file.
imageUrlHTTPS URL, max 4,096One sourceA public image URL.
assetIdasset: handleOne sourceAn image already uploaded to Gavana, for example with gavana asset upload <path> on the person’s machine.
productPageUrlHTTPS URL, max 4,096One sourceA product page. Imports its verified gallery into one Product References Section.
variantSelectorstring, 3–300 charsNoProduct pages only. One exact attribute=value selector as the page spells it.
imageUrlsarray of 1–12 HTTPS URLsNoProduct pages only. The exact product photographs, when you can identify them. Skips page discovery. Do not combine with variantSelector.
destinationstring, 1–600 charsYesThe task’s canvas handle.
idempotencyKeystring, 8–200 charsYes
titlestring, 1–160 charsNoDefaults to Saved image, or Product References for a product page.
backgroundauto | transparent | opaqueNo, defaults to autoSet transparent whenever the person asked for a removed background: Gavana refuses an image without real alpha pixels. Single images only.
x, ynumber, −100,000 to 100,000NoPosition for a single image. A product import places its own Section.

Accepts PNG, JPEG, WebP, and GIF up to 50 MB, verified by sniffing the bytes. A larger, undecodable, or contract-breaking source is refused without writing.

A product page

When the page proves the product (and, if there are several, the variant), the result lists each imported node handle with a preview, and the pictures come back inline so the model can look at them. Look at them before generating: an image count is not visual inspection. These photographs are references, not the deliverable: to make new product photos, generate from the returned handles.

When Gavana cannot prove the product or variant, it returns review_required with the rejected candidates or the valid selectors, and writes nothing. Answer with the variant or the exact imageUrls, and do not generate that product until an import succeeds.

Worked example

{ "name": "save_image_to_canvas", "arguments": { "imageUrl": "https://example.com/hero-draft.png", "destination": "canvas:abc123:product-shots", "title": "Hero draft — warm editorial", "idempotencyKey": "hero-draft-2026-10-05-01" } }

Keep the returned node: handle: it is what generation takes as a reference or a source, and what generate_video takes as a firstFrame. The full flow is on Save an image and use it.

SymptomCauseFix
Validation error “Name exactly one source…”None, or more than one, of the four sourcesSend exactly one.
Validation error “variantSelector and imageUrls belong to a productPageUrl source.”Product fields on a single-image saveDrop them, or use productPageUrl.
insufficient_scopeAlmost always image:generate on a single saveReconnect with full access.
review_required, nothing writtenThe page did not prove the product or variantPass the selector or imageUrls it asks for.

model_list

Find accessible image or video models and their exact handles, capabilities, and parameters.

Annotated read-only, free. Requires image:generate, or video:generate when capability is a video capability.

ParameterTypeRequiredNotes
querystring, max 240 charsNoThe model or provider the person named, for example Seedance 2.
capabilityenumNo, defaults to image.generateimage.generate, image.edit, image.variations, video.generate, video.generate.fromImage, video.generate.fromFrames, video.generate.fromReferences.
limitinteger, 1–100No, defaults to 25
cursorstringNoNext page.

A video capability is the same request as the older find_video_models, so it is authorized as that tool. Match the capability to the inputs you will pass: if a first frame is required, ask for video.generate.fromImage.

{ "name": "model_list", "arguments": { "query": "Seedance", "capability": "video.generate.fromImage", "limit": 5 } }

Use a returned model: handle verbatim. For an image, omit model in generation to use the configured default. A model the person named must be the one used: if it is not returned, say so instead of substituting.


generate_image_in_canvas

Create image-generation targets on a canvas and queue the provider. Also edits an explicit source with operation: "edit", and makes several different outputs in one call with items.

This can incur provider cost. A direct request to make or edit images authorizes that one job. A repeated request is not new authorization, even right after you offered a retry. Never retry a failed call on your own.

Not read-only. Requires canvas:read, canvas:write, asset:read, image:generate, and job:manage, plus element:read when elements is set. operation: "edit" is authorized as edit_image_in_canvas.

Parameters

ParameterTypeRequiredNotes
destinationstring, 1–600 charsYesThe task’s canvas handle.
idempotencyKeystring, 8–200 charsYesOne key per intended paid job.
promptstring, 1–8,000 charsOne of prompt, promptNodeId, items, requestContractOne complete image. A prompt asking for several outputs, or containing a URL, is refused.
promptNodeIdnode handleA text or sticky node whose content is the prompt.
itemsarray of 1–4 objectsDifferent outputs in one call. See below.
countinteger, 1–4No, defaults to 1Separate images of the same prompt. Each one costs.
operationgenerate | editNo, defaults to generateedit derives a new output from an explicit source and keeps the source.
sourcenode: or asset: handleFor editsThe image being edited. Sent to the model first, as Image 1.
referencesarray of 1–16NoExtra guidance. A handle, or { handle, role } with role identity, construction, texture, fit, style, or source.
changeRegionsarray of 1–8 rectanglesNoNormalized { x, y, width, height } (0–1) areas that may change; everything else keeps the source’s pixels. Requires a declared source.
elementsarray of up to 8NoVersion-pinned element:<id>@v<n> handles, or objects with role, influence (0–1), applicationMode, and placements (required for exact Elements). Share the 16-image reference limit.
requirementsobjectNocount, aspectRatio (such as 9:16), composition, panels (1–16), text (none | specified | unspecified), copy (max 2,000), language.
compositionsingle-frame | comparison | gridNoPanels inside each image. Not the same as count.
preserve, changes, forbiddenAdditionsarrays of up to 32 stringsNoWhat must stay, what may change, what must not be added.
originalWordingstring, 1–8,000 charsNoThe person’s full request, kept for review.
requestContractobjectNoA revised request from revise_image_request. Starting it is a new paid run and needs a new key.
modelstring, 1–600 charsNoA model: handle from model_list. Omit to use the configured default.
size, qualitystrings, 1–80 charsNo
titlestring, 1–160 charsNo, defaults to Generated image
targetNodeIdnode handleNoAn existing empty image node to fill. Only with a count of 1.
preflightbooleanNo, defaults to falseValidate references and effective settings without creating nodes or starting paid work. Needs an existing canvas and targetNodeId (or items).
waitbooleanNo, defaults to falseBlock until the image is durable.
waitSecondsinteger, 1–50No, defaults to 45How long wait blocks.

Pass every aspect ratio the person states as requirements.aspectRatio or an item’s aspectRatio. Writing it only into the prompt does not set it.

count versus items

  • count repeats one prompt: four variations of the same idea.
  • items makes different outputs — scenes, hooks, subjects, ratios — each with its own prompt. Each item is { prompt, aspectRatio?, composition?, label? } and runs as its own one-image job; references, Elements, model, and destination apply to all. With items, omit prompt, promptNodeId, count, targetNodeId, and requestContract.

Before anything is written or charged, every node: reference is checked to be a durable image and every item is dry-run by the server. A repeated item, or an item whose prompt states a ratio it does not pass, refuses the whole call.

{ "name": "generate_image_in_canvas", "arguments": { "destination": "canvas:abc123:spring-launch", "idempotencyKey": "spring-scenes-2026-10-05-01", "references": [{ "handle": "node:bag7k2", "role": "identity" }], "items": [ { "prompt": "The bag on a sunlit café table, morning light", "aspectRatio": "4:5", "label": "Café" }, { "prompt": "The bag on a train seat, soft window light", "aspectRatio": "4:5", "label": "Commute" }, { "prompt": "The bag on a beach towel, late afternoon", "aspectRatio": "9:16", "label": "Beach story" } ], "originalWording": "Make 3 scenes of this bag: café and commute in 4:5, beach as a 9:16 story." } }

What it returns

By default, queued progress, immediately: the run handle, waited: false, and destination with the canvasId and the targetNodeIds where the images will land, plus a nextAction pointing at get_image_run. Report that the work is queued, then follow nextAction.

With wait: true, the call blocks up to waitSeconds. If the wait runs out, the result says waitTimedOut: true; the job is still running.

A call with items returns one entry per item in items, their run handles in runs, and:

FieldMeans
startedGenerationAt least one item was newly submitted by this call.
replayedEvery item was already submitted under this key; nothing new started.
doneClaimAllowedEvery item’s output is delivered. Only then may the images be called done.
unavailableOutputsA replayed item finished earlier and its image is not in this result: read its run.
incomplete, uncertain, notAttemptedSubmission stopped early. An uncertain item may already be running and charged; repeat the same call with the same key to observe it. notAttempted items were not submitted by this call.
waitErrorA progress check failed after submission. Read the runs; do not regenerate.

When it fails

SymptomCauseFix
Validation error “Describe one complete image only.”The prompt asks for several imagesUse count for repeats or items for different outputs.
Validation error “Do not put URLs in image prompt prose.”A URL in the promptSave the image or product page with save_image_to_canvas and pass its node handle.
Validation error on items[n].aspectRatioThe item’s prompt or the original wording states a ratio it does not passPass that ratio.
Validation error “changeRegions requires a declared source”Regions without a sourcePass source, or a reference with role: "source".
400 “An edit requires an explicit source reference.”operation: "edit" without a source or referencesPass the image being edited.
product_variant_mixedReferences from one product page are from different variantsUse one variant’s references. Nothing was written or charged.
Terminal provider failureThe provider rejected or failed the jobReport it and stop. Ask before any new attempt.

get_image_run

Check an image run, reconcile its state, and return its saved outputs.

Not read-only: it may finalize or repair saved canvas attachments, update node status, and acknowledge completed jobs. Use run_snapshot to observe without those effects. Requires job:manage. No provider cost: checking never starts generation.

ParameterTypeRequiredNotes
runIdstringYesThe run: handle a generation returned, or the generationRunId an image node carries. Both forms work.
includeImagebooleanNo, defaults to falseInline the finished picture. Off because this tool is polled; the response always carries the saved asset and a preview link when available.

Call it while the status is still active, following nextAction. A handle starting import: is refused with an explanation: an imported picture was uploaded, not generated, and has no run.

When it fails. 400 “not an image generation” means the handle belongs to a workflow run or a video job; use the tool that started it.


list_image_runs

List the image and Action runs this account has started, newest first, with status and canvas.

Annotated read-only, free. Requires job:manage.

ParameterTypeRequiredNotes
statusactive | allNo, defaults to activeactive returns only queued or running runs.
canvasIdcanvas handleNoOnly runs targeting this canvas.
limitinteger, 1–50No, defaults to 20

Use it to answer “how is that going?” in a fresh session, to recover a run handle you no longer have, and to see which runs are holding the concurrent-job limit. Find the existing run before you ever consider starting another.


generate_video

Start a video generation with an exact connected model.

This can incur provider cost, usually the highest on the platform. Explicit current-turn approval only. No automatic retries.

Not read-only. Requires canvas:read, canvas:write, asset:read, video:generate, and job:manage.

ParameterTypeRequiredNotes
modelstring, 1–650 charsYesA model: handle from model_list with a video capability. Not shape-checked, so a guessed value fails later and less clearly.
promptstring, 1–8,000 charsYes
destinationstring, 1–600 charsYesThe canvas whose nodes may be used as frames and references.
idempotencyKeystring, 8–200 charsYes
aspectRatio, resolutionstrings, 1–40 charsNo
durationSecondsinteger, 1–120NoLonger usually costs more.
generateAudiobooleanNo
firstFrameimage referenceNoA node: handle, an asset: handle, or a public HTTPS image URL.
lastFrameimage referenceNoRequires firstFrame.
referencesarray of up to 9 image referencesNoDuplicates are rejected.
waitSecondsinteger, 1–50No, defaults to 45How long the call waits before returning a resumable job: handle.

The finished video is not added to the canvas. It is returned as a protected Gavana link in the job’s result. Give the person that link; do not look for it on the board.

To start from an image in the conversation, save it with save_image_to_canvas first, then pass the returned node handle as firstFrame and the same canvas as destination.

{ "name": "generate_video", "arguments": { "model": "model:seedance-2-pro", "prompt": "Slow push in, warm afternoon light, no camera shake.", "destination": "canvas:abc123:product-shots", "firstFrame": "node:img8q4", "durationSeconds": 6, "idempotencyKey": "hero-video-2026-10-05-01" } }

On a still-running job you get a job: handle and a nextAction naming get_video_job. Never re-call generate_video to check on it.

SymptomCauseFix
Validation error on firstFramelastFrame without firstFrameSupply both or neither.
Validation error on referencesDuplicatesDeduplicate.
Provider rejects the modelA guessed handle, or the wrong capabilityCall model_list with the right video capability.
Terminal failureThe provider failed the jobReport it and stop.

get_video_job

Check a video job and persist its latest status.

Not read-only: it polls the provider and stores what it learns. run_snapshot reads the stored state without polling. Requires job:manage. No provider cost.

ParameterTypeRequiredNotes
jobIdjob: followed by a UUIDYesExactly the handle generate_video returned.

A succeeded job returns its protected Gavana video link. 400 “not a video generation” means the handle belongs to an image job. If a job never leaves queued, report the state; do not start a second video.


element_list

Search the account’s reusable visual Elements.

Read-only. Requires element:read. No provider cost.

ParameterTypeRequiredNotes
querystring, max 240 charsNo
stateactive | archivedNo
limitinteger, 1–100No
cursorstringNoNext page.

Each result carries its current version-pinned handle, element:<id>@v<n>. That exact handle is what element_get reads and what generation’s elements field takes.

element_get

Read one exact, immutable Element revision.

Read-only. Requires element:read. No provider cost.

ParameterTypeRequiredNotes
elementIdelement:<id>@v<n>YesA version-pinned handle from element_list or element_history.

Read the Element before applying it, and pass its exact handle to generation.

element_create

Create a reusable visual Element from existing image assets, guidelines, or both.

Not read-only. Requires element:read and element:write. No provider cost.

ParameterTypeRequiredNotes
namestring, 1–160 charsYes
typeenumYescharacter, product/object, environment, style, material/texture, lighting, brand/mark.
sourceAssetIdsarray of up to 8 asset: handlesNo
guidelinesstring, max 2,000 charsNoAt least one source asset or guideline is required.
applicationModecreative | identity | exactNocreative inspires; identity keeps a recognizable subject; exact composites one transparent PNG source onto the output and verifies its transparency.
collectionIdsarray of up to 24 element-collection: handlesNo

Creating an Element does not cut out or extract its subject. element_create takes no idempotency key, so a repeated call makes a second Element: check element_list before creating again.


Part 2 — callable but not listed

These 28 tools answer to their exact name on every connection whose scopes and gating allow them, but a connection that names no profile does not list them. A connection with ?profile=advanced lists all of them; ?profile=creative lists the ones its profile allows. The hosted tools reference has the per-tool table.

Superseded by a listed tool

Each of these still works, and each request is now also accepted by a listed tool. Prefer the listed one for new work.

ToolUse insteadNotes
guide_searchguide_get with queryquery (max 240, default ""), limit (1–10, default 10). No scope.
open_canvasthe url in canvas_get or canvas_createcanvasId. Returns canvasId, title, url. canvas:read.
import_product_reference_packsave_image_to_canvas with productPageUrlproductPageUrl, variantSelector, imageUrls, destination, title (default Product References), idempotencyKey. canvas:read, canvas:write, asset:read. Never calls a provider.
find_video_modelsmodel_list with a video capabilityquery (required, 1–240), capability (video capabilities only, default video.generate), limit (1–25, default 10). video:generate.
edit_image_in_canvasgenerate_image_in_canvas with operation: "edit"The same parameters without operation or items. Paid.
generate_product_photoshoot_in_canvassave_image_to_canvas with productPageUrl, then generate_image_in_canvas with itemsOne call with a product page or node references and one direction per output; imports and verifies references before any paid generation. Paid.

Same search as guide_get with query, under the older name. See guide_get.

open_canvas

Returns a verified browser link to a canvas without modifying it. canvas_get and canvas_create now carry the same url.

import_product_reference_pack

The standalone product-page import. Behaves exactly as save_image_to_canvas with productPageUrl, including review_required with nothing written. See save_image_to_canvas.

find_video_models

The older video model search. A connection that holds video:generate but not image:generate keeps it listed, because it cannot use model_list for the same request.

edit_image_in_canvas

The older edit tool. Pass the image being edited as source; references are extra guidance; preserve, changes, and changeRegions say what may change. A new output is created and the source stays. Paid: explicit approval only.

generate_product_photoshoot_in_canvas

The older one-call product photoshoot, with unchanged behavior: a product page or durable node references, one direction object per requested output, and verified references before any paid generation. New work uses a product-page import followed by items. Paid.


Work: plan a campaign before generating

Chat-first campaign planning. work_prepare writes a brief, exactly three directions, and a recommendation to the canvas without paid generation; the person chooses; work_execute runs only the chosen direction. The step-by-step flow is on Plan a campaign with Work.

ToolDoesScopesCost
work_prepareCreates the Work: brief, three directions, recommendationcanvas:read, canvas:write, asset:readFree
work_getReads a durable snapshot. Never polls providers or writescanvas:readFree, read-only
work_continueAnswers a question, selects a direction, adjusts the brief, or acknowledges a changed canvascanvas:read, canvas:writeFree
work_executeStarts the selected direction, after explicit confirmationcanvas:read, canvas:write, asset:read, image:generatePaid
work_refreshPolls the provider and writes progress into the Work and canvas. Owner onlycanvas:read, canvas:write, image:generateFree

work_prepare — request (required, 1–8,000), idempotencyKey (required), canvasId (the task’s existing canvas; omit it and work_prepare creates the task canvas itself), references (up to 12 node: or asset: handles, optionally { handle, role, description } with role identity, style, or product). Keep the returned work.canvasHandle for everything after. Then stop for the person’s choice.

work_continue — workId and idempotencyKey, plus one of:

actionNeeds
answeranswer (1–2,000)
select_directiondirectionId (a direction ID or direction: handle)
adjustadjustment (1–2,000)
acknowledge_canvasnothing else; or pass rebase: true on its own

Only the field for the chosen action is accepted. It never starts paid generation.

work_execute — workId, confirm: true, and idempotencyKey. A direction must already be selected. Returns immediately with durable progress; do not retry it.

work_get, work_refresh — workId only.


run_snapshot

Read stored image, Recipe, video, or Work progress and outputs without submitting, resuming, repairing, or cancelling anything.

Annotated read-only, free. Requires job:manage; a work: handle also needs canvas:read.

ParameterTypeRequiredNotes
runIdstringYesA run: handle (image or Recipe), a job: handle (video), or a work: handle.

Returns { snapshot: { version, run, type, state, outputs, warnings, permittedNextActions, observation, ... } }, where observation is always { "readOnly": true, "reconciliationPerformed": false }. Because it does not reconcile, a snapshot can lag the provider. That is the point: it is the safe way to look, and it never starts a generation. get_image_run, get_video_job, and get_canvas_workflow_run reconcile and may write.

revise_image_request

Prepare a revised version of an image run’s request without generating anything.

Annotated read-only, free. Requires job:manage.

ParameterTypeRequiredNotes
runIdimage run handleYes
patchobjectYesAt least one of requirements, preserve, changes, forbiddenAdditions, size. Only named fields change; references and other requirements stay.

Returns requestContract, an interpretedRequest receipt, submitted: false, and paidJobsStarted: 0. To run it, pass requestContract to generate_image_in_canvas with a new idempotency key, which is a new paid job and needs the person’s approval. A run older than versioned requests returns 409.


Workflows and Recipes

Reusable workflows are retained for compatibility while the Recipe interface is unavailable in production. They are unlisted by default and need explicit approval to run. The flow is on Run a canvas workflow.

ToolDoesScopesCost
create_canvas_workflowWrites a private reusable Recipe and a workflow card. Never starts generationcanvas:read, canvas:writeFree
run_canvas_workflowRuns a workflow card with only the inputs that changecanvas:read, canvas:write, asset:read, image:generate, job:managePaid
get_canvas_workflow_runReconciles or advances a workflow run, including submitting its remaining already-authorized stepscanvas:read, job:manageStarts nothing the run did not already authorize
recipe_searchSearches approved Recipes; returns exact versions and declared portscanvas:readFree, read-only
recipe_getReads one Recipe’s version, inputs, outputs, and graphcanvas:readFree, read-only
recipe_runRuns an exact approved Recipe version on an explicit canvascanvas:read, canvas:write, asset:read, image:generate, job:managePaid

create_canvas_workflow — destination (required), name (1–160), description (max 1,200), category (Brand & Visual Design, Product Visualization (default), Marketing & Ads, Content Package), tags (up to 12), inputs (1–16), outputs (1–8), idempotencyKey, optional x, y. Each input: key, label, optional description, type (image | text | sticky), optional referenceRole (identity | style), sourceNodeId (an image’s fixed default), value (text or sticky only), useAsDefault. Each output: key, label, optional description, type (image | text), optional composition, prompt (1–8,000), inputKeys (1–16), optional model, size, quality. Returns the workflow with its workflowNodeId and browser url.

run_canvas_workflow — destination (required, the canvas holding the card), workflowNodeId (required), inputs (up to 16, by key, portNodeId, or label; image values are node: or asset: handles), outputMode (reuse refills existing slots and is the default; append keeps earlier outputs; the creative profile defaults to append), version, baseRevision, idempotencyKey, optional model, size, quality, waitSeconds (1–50, default 45).

get_canvas_workflow_run — runId: the run: handle, or the recipeRunId a canvas node carries.

recipe_search — query (max 240), limit (1–100, default 25), cursor. recipe_get — recipeId (recipe:<id>), optional version. recipe_run — recipeId, version (required), canvasId (required), idempotencyKey (required), inputs, outputMode (default append), baseRevision, model, size, quality. Returns a durable queued receipt.


Element administration

Housekeeping for Elements and their collections. Every one needs element:read; the ones that change anything also need element:write. None costs anything.

ToolParametersNotes
element_historyelementId (element:<id>), limit, cursorImmutable revisions, newest first. Read-only.
element_updateelementId (element:<id>), name, type, sourceAssetIds, guidelines, applicationModeCreates a new revision. Older version handles stay valid.
element_update_collectionselementId, collectionIds (up to 24)Replaces the Element’s memberships without a new revision.
element_archiveelementId, confirm: trueShow the Element to the person first; confirm only after they approve. Recoverable.
element_restoreelementIdWorks while all the Element’s source assets remain.
element_collection_listlimit, cursorRead-only.
element_collection_createname (1–120)
element_collection_updatecollectionId (element-collection:<id>), nameRenames.
element_collection_deletecollectionId, confirm: trueDeletes the collection, not its Elements. Confirm only after the person approves.

Not on the hosted server

Node-level graph surgery (node_*, connection_*), deterministic credit-free image Actions (action_*), image variations, Recipe forking, asset listing and upload, canvas rendering, provider listing, and job waiting and cancelling exist only on the local stdio server. See the local tools reference and Other clients.

Last updated on