Berrys AI

v0.3.5
io.github.GeneralBerrys/berrys-canvas Checked 2 days ago Published 23 days ago

Your agent turns product photos into on-brand listing images, ads, and short videos on one canvas.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

playground_projects_list List your Playground projects

List Playground workflows that this OAuth client may read for the current user. Returns accessible project IDs, names and effects, with a truncation indicator.

playground_connected_sources_list List connected creative sources

List active Drive, Shopify, Meta Ads, and Gmail accounts and read-only operation names. Uses the signed-in user’s connected accounts and project access. Returns connected accounts and available read operations.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_connected_source_schema Describe a connected source read

Get the current exact input schema and tool version for one selected account and allowlisted read operation. Returns the operation version, input schema and pagination guidance.

ParameterTypeDescription
accountId *stringConnected account ID returned by connected_sources_list.
operationId *stringRead operation ID returned by connected_sources_list; inspect its schema before supplying arguments.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_connected_source_read Read a connected creative source

Execute one allowlisted read with the exact connected account ID and discovered tool version. Returns bounded source data and a receipt; no external write or export is possible. Returns bounded source data, a provenance receipt and an optional next-page token.

ParameterTypeDescription
accountId *stringConnected account ID returned by connected_sources_list.
operationId *stringRead operation ID returned by connected_sources_list; inspect its schema before supplying arguments.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
version *stringExact version returned by discovery for the selected operation or skill.
argumentsobjectArguments for the selected connector operation, matching connected_source_schema.inputSchema.

playground_project_skill_propose Propose a Playground project skill version

Submit instructional Markdown for human review in Playground. The proposal is inactive and grants no tools, connections, or billing rights. Returns skill and proposal IDs, version and proposed status.

ParameterTypeDescription
instructions *stringInstructions to save for the selected skill or node.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
provenance *stringSource information explaining where the proposed skill instructions came from.
slug *stringStable short name for the proposed project skill.
summary *stringBrief explanation of what the proposed skill helps the user accomplish.
title *stringHuman-readable label to display for this item in Playground.
requiredCapabilitiesarrayCapability names that must be available to use this proposed skill.

playground_canvas_read Read Playground canvas

Read the current node graph and revision for a Berrys Canvas Playground workflow. Returns the graph, current revision and Playground URL with a canvas preview.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_node_types_list List Playground node types

Discover every Playground node type, what it consumes and produces, and which agent actions are currently supported. Use this before planning graph changes.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_video_quote Quote one Playground video clip

Quote a supported text-to-video model for one prepared clip. This is read only and does not submit a job. Returns model pricing and the quoted video settings.

ParameterTypeDescription
aspectRatio *stringOutput width-to-height ratio supported by the selected model, such as 1:1 or 9:16.
duration *integerRequested video duration in seconds, supported by the selected model.
modelId *stringCanonical model ID returned by model discovery or resolution; preserve the user’s selected model.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_video_batch_quote Quote prepared Playground video shots

Read the exact prepared text-to-video shot inputs and total credit ceiling in the requested order. This does not submit or approve jobs. Returns per-node video quotes and the total credit cost.

ParameterTypeDescription
nodeIds *arrayIDs of the existing canvas nodes to use for this action.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_image_quote Quote a Playground image generation

Read the current credit cost for one image and up to three image references. Does not submit a job. Returns model pricing and the quoted image settings.

ParameterTypeDescription
modelId *stringCanonical model ID returned by model discovery or resolution; preserve the user’s selected model.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
aspectRatiostringOutput width-to-height ratio supported by the selected model, such as 1:1 or 9:16.
inputImageCountintegerNumber of reference images that will be supplied to the image model for this quote.

playground_media_jobs_list List Playground media jobs

List recent agent image and video dispatch receipts for an authorized Playground project. Returns media job receipts and their current statuses.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_media_job_get Get a Playground media job

Reconcile and read one media dispatch receipt by ID. Completed images include a native image preview, original media link and Playground URL; display the native image content when supported. Pass waitSeconds (up to 25) to have the server wait for the job to finish (completed, failed, or needs_reconciliation) before answering; retry_after_seconds is null once it has settled. Safe to poll after the run completes or the client disconnects.

ParameterTypeDescription
dispatchId *stringDispatch receipt ID returned by generation or media_jobs_list; reuse it to check the same job.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
waitSecondsintegerMaximum seconds to wait for new events or a job update; prefer long polling over repeated immediate requests. Optional long poll: wait up to this many seconds (0–25, default 0) on the server for a c…

playground_media_job_cancel Cancel a queued Playground media job

Cancel one queued agent image or video job and release its credit hold. A processing provider job cannot be cancelled by this tool. Requires project edit access.

ParameterTypeDescription
dispatchId *stringDispatch receipt ID returned by generation or media_jobs_list; reuse it to check the same job.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_memory_list Read approved Playground project memory

Read approved project-shared memory and this user’s private memory. Requires project view access. Returns the project’s available memories.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_output_feedback_list Read current creative output feedback

Read this user’s accept/change verdicts for media still attached to the Playground project. Requires project view access. Returns recorded output feedback for the project.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_memory_propose Remember a Playground project note

Remember a user decision or verified project fact, with optional source node citations. It takes effect immediately: the Playground agent reads remembered notes in every later turn, the same way it remembers what users tell it. Requires project edit access.

ParameterTypeDescription
content *stringMemory text to propose for future creative work.
kind *stringMemory category used to organize the proposed guidance.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
scope *stringScope in which to find or save the requested item.
sourceNodeIdsarrayCanvas node IDs that provide evidence for the proposed memory.

playground_approvals_list List Playground agent approvals

Read pending proposals, exact scopes, expiry, and price ceilings for the current user and project.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
conversationIdstringConversation ID for filtering or continuing the associated agent work.

playground_generation_confirm Confirm generation batch

After explicit user confirmation of exact inputs and total credits, submit all selected direct-generation approvals from one run in one call. Pass confirmation.items and totalCredits from the prepared request as items and maxCredits. Validates all client/user/run bindings before dispatch; preserves already-submitted items on retries and reports every partial failure. Never call before user confirmation. No Berrys review-page click is needed.

ParameterTypeDescription
decision *stringWhether to approve or reject the selected proposal; approve charges only after explicit user confirmation.
items *array
maxCredits *integerSum of the quoted credit ceilings for all selected items, explicitly confirmed by the user.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
runId *stringRun ID returned by preparation or execution for this project.

playground_approval_decide Confirm a quoted generation charge

After showing the exact prompts, references and total credits in chat and receiving the user’s explicit confirmation, approve or reject one direct generation request created by this client. Approval submits a paid job. Pass its inputFingerprint and maxCredits from the prepared request. Never call approve before the user confirms. Cannot approve another client’s requests or delegated agent plans. Returns the approval decision result, including dispatch or rejection status.

ParameterTypeDescription
approvalId *stringApproval ID from the prepared request or approvals_list.
decision *stringWhether to approve or reject the selected proposal; approve charges only after explicit user confirmation.
inputFingerprint *stringExact input fingerprint from the quote, binding approval to the reviewed inputs.
maxCredits *numberMaximum credits explicitly approved by the user; copy the quoted ceiling without increasing it.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_run_cancel Cancel a Playground creative run

Stop further agent effects for a run. Provider jobs already submitted may continue and retain their receipts and charges.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
runId *stringRun ID returned by preparation or execution for this project.

playground_film_assembly_retry Retry a prepared film assembly

After two failed assembly attempts, validate the ordered Playground clips and queue another bounded FFmpeg assembly attempt. This does not submit a paid media generation job.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
runId *stringRun ID returned by preparation or execution for this project.

playground_run_delivery Get verified Playground delivery

Read a run’s final response and persisted canvas or media receipts, with native image previews (up to four) and original media links. Display the native image content when supported; canvasUrl is a link, not a command to open a browser. For more than four images, follow previewPage.nextOffset with previewOffset to display every page without regenerating. The verified flag is false until all required output evidence is present.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
runId *stringRun ID returned by preparation or execution for this project.
previewOffsetintegerNumber of delivery previews to skip when requesting the next preview page.

playground_media_upload_begin Start a Playground reference upload

Create a short-lived signed URL for one image, video, or audio reference. Upload bytes to signedUrl with the declared Content-Type, then call playground_media_upload_complete. The URL is scoped to your user, project, and OAuth client. For a file attached in chat, prefer playground_asset_import with file. If your environment cannot reach signedUrl, stop and ask the user to choose Add image on the Berrys canvas (playground_canvas_open) instead of retrying. Returns an upload ID, signed upload URL, MIME type, byte limit and expiry.

ParameterTypeDescription
filename *stringOriginal filename of the media being uploaded, including its extension.
mimeType *stringMedia content type of the bytes to upload, such as image/png.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_media_upload_complete Attach an uploaded reference to Playground

Verify the signed upload by server-owned path, actual byte size and media signature, then add one editable file node at the current canvas revision. Repeating the same upload ID returns the original node receipt. Returns the created node ID, canvas revision and replay status.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
uploadId *stringUpload ID returned by media_upload_begin after the bytes have been uploaded.

playground_storyboard_prepare Prepare connected video shots from a text group

Create ready-to-generate video shot nodes connected to text nodes inside a selected text group. This only prepares nodes; it does not submit paid video jobs. Requires the latest canvas revision. Returns shot node IDs, source node ID, optional stitch/group IDs and revision.

ParameterTypeDescription
aspectRatio *stringOutput width-to-height ratio supported by the selected model, such as 1:1 or 9:16.
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
modelId *stringCanonical model ID returned by model discovery or resolution; preserve the user’s selected model.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
shots *array
sourceNodeId *stringExisting canvas source node ID to use for this operation.

playground_canvas_add_text Add a text node

Add an editable text node to a Playground workflow. Supply the latest canvas revision; stale edits are rejected. Returns the text node ID, updated revision and replay status.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
text *stringEditable text to save in the selected text node or workflow input.

playground_canvas_update_text Update a Playground text node

Replace the editable text content of an existing text node. Requires project edit access, the node ID and the current expectedRevision from canvas_read. Reuse idempotencyKey only for an identical retry. On revision_conflict, read the canvas and rebuild the change. Returns the node ID, updated canvas revision and replay status.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
nodeId *stringExisting canvas node ID returned by canvas_read, node search or creation.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
text *stringEditable text to save in the selected text node or workflow input.

playground_canvas_update_node_layout Rename or reposition a Playground node

Update only the common title and/or canvas position of any user-facing Playground node. This is non-paid, revision-checked, idempotent, and returns the previous values for a follow-up undo command. Node-specific content is not changed.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
nodeId *stringExisting canvas node ID returned by canvas_read, node search or creation.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
positionobject
titlestringHuman-readable label to display for this item in Playground.

playground_canvas_apply_operations Edit the Playground canvas in one batch

Apply one atomic, revision-checked, idempotent batch of non-paid canvas edits: create_node (text, image, video, video-stitch, comment, image-compare, output-gallery, video-frame-grab, list-node), update_node, connect, disconnect, group, ungroup, delete and tidy. Refer to nodes created earlier in the batch as "$name". Nodes without a position are placed in free space beside what feeds them. Connections use the same handle rules as the browser; image → video accepts role first_frame, last_frame or reference; image-compare takes two images, output-gallery collects images, and video-frame-grab t…

playground_run_revert Revert a Playground agent run’s canvas changes

Undo every canvas change one agent run made, newest first, as one new revision. If someone has edited those nodes since, nothing changes and the conflicting node/edge IDs are returned; pass force=true only after confirming the later edits may be discarded. Generated media and credits are not refunded by a revert. Returns revert status, revision and any conflicting or overridden changes.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
runId *stringRun ID returned by preparation or execution for this project.
forcebooleanWhether to override detected conflicts while reverting; use only when the user intends to overwrite those later changes.

playground_canvas_snapshots_list List Playground canvas snapshots

List recent whole-canvas snapshots taken before agent runs, MCP writes, reverts and restores. Read-only. Returns snapshot IDs, revisions, reasons and node counts.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_canvas_snapshot_restore Restore a Playground canvas snapshot

Replace the whole canvas with a snapshot, as one new revision. The current canvas is snapshotted first, so the restore can itself be undone. Discards every change made after the snapshot; prefer playground_run_revert for undoing one run.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
snapshotId *stringSnapshot ID returned by canvas_snapshots_list to restore.

playground_capabilities_discover Discover what you can make with Berrys

Discover what you can make with Berrys without selecting or reading a project. Omit projectId for a general overview. For a chosen project, include projectId to check permissions before editing. Internal flags are for tool routing; explain only task-relevant limits to the user. Returns a general capability overview, or project-specific permissions, available tools and usage conventions.

ParameterTypeDescription
projectIdstringProject ID for project-specific access or skills; omit for general capabilities or built-in skills.

playground_model_resolve Resolve a model name or suggest matches

Read-only. Resolve user shorthand such as Seedream 5.0, Nano Banana 2 or Seedance 2 Mini against enabled models. Case, punctuation and trailing .0 are normalized. Unique matches return canonical IDs; ambiguous names and typos return suggestions for clarification. Never silently substitute a different version or default. No credits spent.

ParameterTypeDescription
kind *stringModel family to resolve: image, video or audio.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
query *stringModel name, shorthand or spelling supplied by the user to resolve to a canonical model ID.

playground_models_list List Playground generation models

Discover enabled image and/or video models with aspect ratios, durations, reference requirements, whether the agent can run them, and price: baseCredits (one image, or the cheapest supported video duration) and creditsByDuration for videos. Prices are list prices for planning; get the exact charge with quote: true on playground_media_generate or playground_node_run (or the *_quote tools). kind filters to image or video models; omit it for both. Discovery is optional: quote a known/requested model directly instead of listing the catalog before every generation. Read-only.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
kindstringModel family to list: image or video; omit to list both. image, video, or all (default).

playground_node_get Get one Playground node

Read one node by ID with its incoming and outgoing connections, its group children, and the current canvas revision. Cheaper than reading the whole graph.

ParameterTypeDescription
nodeId *stringExisting canvas node ID returned by canvas_read, node search or creation.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_web_page_read Read a web page as a reference

Fetch a public HTTPS page (product page, article, landing page, or social post) with private-network, size and type checks, and return its title, description, card, JSON-LD product data, headings, main text and images with source URL, retrieval time and content hash. Social links and script-rendered pages are metadata_only. JavaScript is not run and embedded video/audio is never watched. With placeOnCanvas (needs canvas:edit and expectedRevision) it also adds a source card and up to three product images to the canvas.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
url *stringPublic HTTPS URL of the source to inspect or import; use the original source link.
expectedRevisionintegerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
placeOnCanvasbooleanWhether to add the fetched page and usable reference images to the canvas; requires edit access and a current revision.

playground_canvas_arrange Tidy Playground nodes or a group

Arrange loose nodes as a block, or re-lay out a group’s children, as one revision-checked, idempotent, non-paid revision (the tidy operation of playground_canvas_apply_operations). Give nodeIds or groupId.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
groupIdstringExisting canvas group ID to arrange.
nodeIdsarrayIDs of the existing canvas nodes to use for this action.

playground_canvas_open Open your Playground workspace

Return the authorized project URL focused on selected node IDs. If your host has an in-app browser, open it beside chat and reuse that project tab. Otherwise show the link. This tool does not itself control a browser or prove the user is signed in.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
nodeIdsarrayIDs of the existing canvas nodes to use for this action.

playground_context_current Get the project the user has open

Use only when the user asks to work on their open project or selection. Return lightweight context from an authorized editor active in the last 2 minutes. Never choose a recent or unrelated project. General questions about Berrys do not need this tool. Does not open or render a canvas; use playground_canvas_open only when a preview is requested or needed for the task. Returns whether editor context exists and, when available, the current project and selection.

playground_project_create Create a Playground project

Create a new, empty Playground project owned by the signed-in user. For a fresh generation request with no named, linked or conversation-established project, create one automatically with a concise name from the brief; do not ask for separate project-creation permission or inspect unrelated projects first. Reuse its ID for follow-up work on the same task. General questions do not need a project. Creation spends no credits; paid generation still requires a quote and user approval. Returns the project ID and canvasUrl.

ParameterTypeDescription
name *stringConcise project name describing the user’s creative task.

playground_brands_list List your brands

List brands owned by the connected account. Use when the user wants to choose existing brand rules. Does not select an active brand, open a project or spend credits. Returns the user’s saved brands and their identifying details.

playground_brand_get Read a brand

Read the connected account’s selected brand and saved Brand DNA. Does not change the account’s active brand or apply the rules to a generation. Returns the selected brand’s saved Brand DNA and creative guidance.

ParameterTypeDescription
brandId *stringSaved brand ID returned by brands_list; select the brand requested by the user.

playground_skills_discover Explore Berrys creative playbooks

Explore built-in playbooks without opening or creating a project. Search by query/category and follow nextOffset. Include projectId only to include that project’s private skills after an access check. Skills teach a method; they do not grant permissions or spend credits. Returns matching skill summaries and pagination information.

ParameterTypeDescription
categorystringCreative playbook category to filter discovery results.
limitintegerMaximum number of results to return in this page.
offsetintegerNumber of matching results to skip; use the previous response’s nextOffset for another page.
projectIdstringProject ID for project-specific access or skills; omit for general capabilities or built-in skills.
querystringSearch words describing the item or content to find.

playground_skill_load Load a Berrys creative playbook

Load exact versioned instructions. Built-in skills need no projectId. Private project skills require projectId and scope: project, with current read access. Does not generate media or grant permissions.

ParameterTypeDescription
id *stringSkill ID returned by skills_discover.
version *stringExact version returned by discovery for the selected operation or skill.
projectIdstringProject ID for project-specific access or skills; omit for general capabilities or built-in skills.
scopestringSkill scope returned by skills_discover; project skills require projectId.

playground_actions_discover Explore Berrys editing actions

Discover implemented media editing and canvas actions. No project needed to browse; include projectId to check its permissions. By default, omit unavailable actions. Does not inspect a canvas, enable a feature, edit media or spend credits. Follow each action’s tool schema when applying it. Returns matching actions with availability and requirements.

ParameterTypeDescription
includeUnavailablebooleanWhether to include actions that are currently unavailable, together with their availability reasons.
projectIdstringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
querystringSearch words describing the item or content to find.

playground_node_run Run image, video and audio nodes

Run the generation already configured on 1–20 existing image, video or audio nodes. Image: prompt (its Text node), modelId, aspectRatio, wired references. Video: instructions, modelId, aspectRatio, duration, wired references and first/last frames. Audio: the node's own instructions (speech: the words; music: the lyrics), modelId (minimax:speech-2.8-hd, minimax:speech-2.8-turbo, minimax:music-2.5, minimax:music-1.5), voice (speech) or style (music) — set them with playground_canvas_apply_operations; wired Text nodes are refused for audio. Prompt Helper and Video Story nodes cannot run here…

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
nodeIds *arrayIDs of the existing canvas nodes to use for this action.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
quotebooleanWhen true, return pricing without executing paid generation; show the quote and obtain user approval before spending.
quoteIdstringRequired for execution: the unexpired quoteId returned by quote: true.

playground_media_generate Generate images, videos and audio as new nodes

Batch-generate 1–20 images, videos or audio tracks in one request. Each image/video item becomes a new node, with its prompt Text node and wired referenceNodeIds; each audio item becomes an audio node holding its words (prompt), modelId (default minimax:speech-2.8-hd), voice or style. Write each image/video prompt yourself from the references, following the model's prompt guide (quotes return promptGuides); never paste the user's request into it. Nodes are placed in free space in one revision-checked canvas edit, then run like playground_node_run. quote: true validates references, saves a te…

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
items *array
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
quotebooleanWhen true, return pricing without executing paid generation; show the quote and obtain user approval before spending.
quoteIdstringExact quote ID returned by preparation or quoting; submit it with the unchanged quoted request. Required for execution: the unexpired quoteId returned by quote: true.

playground_content_prepare Prepare content from a brief

The easiest way to start making content. Give a short brief and one entry per output you need; intendedUse is optional. You write each image or video prompt yourself: look at the reference image, describe the product (type, colour, material, details that must not change) and the shot (for example hero, lifestyle, detail, or a short motion plan), following the model prompt guide. If a prompt is missing, Berrys returns prompts_required with the reference preview and the guide instead of a quote; write the prompts and call again. Berrys then returns an exact, free credit quote; it does not create…

ParameterTypeDescription
brief *stringUser’s creative goal, product context and requirements for the deliverables.
deliverables *array
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
brandIdstringAn explicitly selected brand owned by the connected account. Its saved rules are included in the quoted image/video prompts.
intendedUsestringWhere the content will be used, for example a product listing, social post or ad. Omit when the user has no specific placement.
localestringLanguage or locale to use for the deliverable text, such as en or id-ID. Language tag such as en, id-ID, th-TH, or vi-VN.

playground_workflow_inspect Inspect workflow inputs and execution stages

Read typed source input contracts, generation dependencies, completed outputs, pending/active work and blockers. Returns the next ready stage without spending. Use before running a saved campaign. Returns typed editable inputs, dependencies, stages and workflow readiness.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
targetNodeIdsarrayWorkflow output node IDs to inspect or produce; dependencies are resolved from the graph.

playground_workflow_inputs_set Save workflow inputs and settings

Save text/List inputs, prompts, formats, durations, audio settings and image reference choices from workflow_inspect. Free, atomic, revision checked and idempotent. Completed, active and approved steps are read-only, including their shared inputs. Does not generate or approve anything. Returns the refreshed workflow form. Upload new reference media first; choose its existing node ID.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
inputsarray
nodesarray

playground_workflow_quote Quote the next workflow stage

Quote only the next ready empty steps from workflow_inspect, up to 20 outputs. Does not edit the canvas, prepare approval or submit generation. Safe for the chat workflow form. Returns the exact stageNodeIds, revision and quoteId for a later chat-confirmed playground_workflow_run request.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
targetNodeIdsarrayWorkflow output node IDs to inspect or produce; dependencies are resolved from the graph.

playground_workflow_run Quote or prepare a ready workflow stage

Run a saved workflow through its ready image/video/audio stages. quote:true prices up to 20 ready nodes including connected List batches. Pass the returned stageNodeIds, expectedRevision, quoteId and a NEW idempotencyKey with quote:false to prepare chat confirmation. Does not auto-approve or dispatch dependent stages. After existing jobs settle, inspect/quote the next stage until completed. Preserve completed, active and uncertain work; no Berrys-agent delegation is needed. Returns a stage quote or execution/approval result with run and job tracking information.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
quotebooleanWhen true, return pricing without executing paid generation; show the quote and obtain user approval before spending.
quoteIdstringExact quote ID returned by preparation or quoting; submit it with the unchanged quoted request.
stageNodeIdsarrayReady-stage node IDs returned by the workflow quote for this execution.
targetNodeIdsarrayWorkflow output node IDs to inspect or produce; dependencies are resolved from the graph.

playground_media_retry_quote Quote failed generation items

Read fresh receipts for one run and quote replacements only for confirmed failed items, including individual List outputs. Completed, pending, active, uncertain and changed-reference items are excluded. Optional dispatchIds selects failed items explicitly. Quote only: no canvas edit, approval or generation. Returns exact retryPlan.items and quoteId for playground_media_generate; user confirmation is still required before spending.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
runId *stringRun ID returned by preparation or execution for this project.
dispatchIdsarrayDispatch receipt IDs for the failed items to retry; obtain them from run_delivery recovery.

playground_brief_start Hand a brief to the Berrys agent

Start the Berrys agent on a brief and return at once with runId and canvasUrl; it never waits. Follow it with playground_run_events (afterSeq, optionally waitSeconds) for progress, approvals and the final response, and playground_run_diagnose if it fails. projectId defaults to the project the user has open (playground_context_current). files are node IDs of uploaded media to use as references; connectorAccountIds lets the agent read connected sources (needs connector:read). Pass conversationId to continue an earlier brief. Requires agent:start; paid steps still need approval.

ParameterTypeDescription
message *stringUser’s creative brief or steering instructions for the current run.
connectorAccountIdsarrayConnected account IDs (playground_connected_sources_list) the agent may read for this brief. Only include accounts the user selected for this brief.
conversationIdstringConversation ID for filtering or continuing the associated agent work.
filesarrayReference file attachments to include with the brief.
projectIdstringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.

playground_run_events Read new events of a Berrys agent run

Return only what changed in a run since afterSeq: compact events, a status line, pending approvals, the final response once it ends, nextAfterSeq, and retry_after_seconds (wait that long before polling again; null once the run has ended). Give runId, or conversationId for the latest run in that conversation (e.g. after reconnecting). Pass waitSeconds (up to 25) to have the server wait for new events or a status change before answering. Read-only.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
afterSeqintegerLast event sequence number already received; return only later events.
conversationIdstringConversation ID for filtering or continuing the associated agent work.
limitintegerMaximum number of results to return in this page.
runIdstringRun ID returned by preparation or execution for this project.
waitSecondsintegerMaximum seconds to wait for new events or a job update; prefer long polling over repeated immediate requests. Optional long poll: wait up to this many seconds (0–25, default 0) on the server for a c…

playground_run_diagnose Diagnose a Berrys agent run

One report for a run: verdict (succeeded, failed, waiting_approval, running, cancelled), the failed step, the last good step, failed media jobs with errors, and the suggested next action. Read-only.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
runId *stringRun ID returned by preparation or execution for this project.

playground_run_steer Steer a running Berrys agent plan

Add a note to a production plan that is running: it applies to steps that have not started and later outputs are reviewed against it. Steps already generating are unchanged. Ended runs cannot be steered; send playground_brief_start with the run’s conversationId instead. Requires agent:start.

ParameterTypeDescription
message *stringUser’s creative brief or steering instructions for the current run.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
runId *stringRun ID returned by preparation or execution for this project.

playground_memory_proposal_review Approve or reject a proposed project memory

Approve or reject one proposed memory note for this project, as the user would in Berrys. Approved notes are read by the Berrys agent on later turns; rejected ones are archived. External apps cannot approve memory proposals; the user must review them in Berrys.

ParameterTypeDescription
decision *stringWhether to approve or reject the proposed memory; rejected notes are archived.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
proposalId *stringMemory proposal ID to review.

playground_video_extract_frames Extract frames from a Playground clip

Take the first and/or last frame of a finished clip and place each on the canvas as a Frame Grab node wired from the clip, holding a real stored image. A frame node can then feed an image → video node as first_frame or last_frame (playground_canvas_apply_operations connect with role). Only "first" and "last" are supported; a timestamp in seconds is refused. Free: no credits are spent. Revision checked and idempotent; it can take up to two minutes. Returns created frame node IDs, image URLs, revision and Playground URL.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
positions *arrayFrame positions to extract: first, last, or timestamps in seconds from the video start.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
videoNodeId *stringExisting canvas video node ID containing the source video.

playground_media_compose Assemble Playground clips into one film

Stitch 2–12 finished video nodes, in the given order, into one film. Creates an "Assemble film" (video-stitch) node wired from the clips and queues the existing FFmpeg film worker, which normalizes the clips, concatenates them and attaches the MP4 to that node. Clips must be generated video nodes in this project's storage sharing one 16:9, 9:16 or 1:1 aspect ratio. Free: no credits are spent. Returns immediately; poll playground_run_delivery with the returned runId (every ≥30 s) until verified, or read the stitch node's generated URL with playground_node_get.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
videoNodeIds *arraySource video node IDs in the order they should appear in the assembled video.
titlestringHuman-readable label to display for this item in Playground.

playground_video_trim Trim a Playground clip

Cut a finished video node to [startSeconds, endSeconds] on the server. Creates a "Clip" (video-result) node wired from the source, as the in-app Clip tool does, and queues the existing FFmpeg film worker, which cuts the stored clip (re-encoded, frame accurate) and attaches the MP4 to that node. The range must be at least 0.2 s and inside the clip; the worker re-checks it against the probed duration. The source must be a finished clip in this project's storage. Free: no credits are spent. Revision checked and idempotent. Returns immediately; poll playground_run_delivery with the returned runId…

ParameterTypeDescription
endSeconds *numberEnd of the retained clip in seconds; must be later than startSeconds.
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
startSeconds *numberStart of the retained clip in seconds from the source video’s beginning.
videoNodeId *stringExisting canvas video node ID containing the source video.
titlestringHuman-readable label to display for this item in Playground.

playground_media_compare Lay out Playground media for comparison

Compare 2–4 images or 2–4 videos side by side on the canvas. Two images fill a Compare (image-compare) node's A/B slots; three or four images feed a Picks (output-gallery) node; videos are grouped in one titled row. Inputs stay where they are except videos, which move into the new group. Free; revision checked and idempotent. It does not judge quality. Returns comparison layout, selected node IDs, summaries, revision and Playground URL.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
nodeIds *arrayIDs of the existing canvas nodes to use for this action.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
titlestringHuman-readable label to display for this item in Playground.

playground_video_analyze Read what is known about a Playground clip

Read-only facts about one video node: its clip URL, model and settings, frame nodes already taken from it, objective FFmpeg measurements (duration, black segments, silence, loudness) when the server has FFmpeg, and any visual analysis the Berrys agent already made of this exact clip. It never makes a new paid model call, so a new shot table or visual description is not produced here; ask the Berrys agent (playground_brief_start) for that.

ParameterTypeDescription
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
videoNodeId *stringExisting canvas video node ID containing the source video.

playground_asset_import Add an attached or linked file to the Playground canvas

Add one image (PNG, JPEG, WebP, ≤8 MB), video (MP4, ≤16 MB) or audio file (MP3 or WAV, ≤12 MB) to the canvas as a file node that can feed image and video generation. Pass exactly one source: file for a file the user attached in this chat (Berrys downloads it itself; no upload step), or url for a public HTTPS link. Bytes are checked and copied into project storage. Private, local and internal addresses are refused, and every redirect is rechecked. Free; revision checked and idempotent. Returns imported asset node details, revision and Playground URL.

ParameterTypeDescription
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.
fileobjectA file the user attached in chat, as provided by the host. Omit when passing url.
kindstringMedia type to create or import, selected from the supported values.
urlstringPublic media URL to import as a canvas asset; for chat attachments use file instead. A public HTTPS link to the media. Omit when passing file.

playground_drive_image_import Use a selected Google Drive image as a reference

Copy one explicitly selected PNG/JPEG/WebP image (up to 8 MB) from your connected Google Drive account into Berrys reference storage, where generation providers can fetch it. Returns a File nodeId: pass it in referenceNodeIds to use it. Requires a connected Drive account belonging to this Berrys user; another agent’s Drive connection is not inherited. Free; no generation starts. Never accepts credentials or a sharing-page URL.

ParameterTypeDescription
accountId *stringConnected account ID returned by connected_sources_list.
expectedRevision *integerCurrent canvas revision from canvas_read; on revision_conflict, read again and rebuild the change.
fileId *stringGoogle Drive file ID to import from the selected connected account.
idempotencyKey *stringUnique key for this request; reuse only when retrying the identical request after a lost response. Use a new key after quoting or changing inputs.
projectId *stringID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context.