Skip to content

MCP tools

Your AI agent selects and calls these tools automatically based on your prompts: you don’t invoke them by hand. Each tool has its own page with full parameter details. See the MCP server overview for what the server does and Setup for connecting your client.

These are the creative server tools (generation, models, Layer agents, workflows, files, image operations, engine exports, reference sets, training and output scoring). Workspace administration lives on a separate server. See Management MCP.

Instructions

These tools return platform guidance. Your AI agent calls them automatically to understand how to use Layer — you don’t need to invoke them directly.

Feedback

Tell the Layer team what your agent could not do, what failed or confused it, and what worked well. Your agent can call it on its own when it hits a gap.

Workspaces

List and inspect the Layer workspaces you belong to.

  • list_workspacesList every workspace the current user belongs to.
  • get_workspaceGet details for a single workspace including Creative Units balance.

Models

Discover and inspect the generative models available to your workspace.

Browse the trends on Layer’s Trends page, hooks from mobile game UA video ads and what is charting on public boards, and read the reference files to generate from.

  • list_trendsList the trends on Layer's Trends page, for creative direction on game marketing assets.
  • get_trendFetch a trend's full detail: its scenario and variants (for a `creative` trend), its web research (for a `top` trend), and the public reference files that show it, each with a download URL.

Post insights

Read how your posts are doing on Facebook Pages and Instagram, for a Layer file’s exports, a post you link, or a Page’s or account’s latest posts, live from the network.

  • file_insightsHow a Layer file is doing on the networks the workspace connected: the newest posts Layer's exports made of it, each with its metrics in the shape its network and placement report, or why it has none (`unavailable`).
  • facebook_page_post_insightsHow one post on the user's Facebook Page is doing, named by its link or its ID: its metrics in the shape its placement reports.
  • instagram_media_insightsHow one post on the user's Instagram account is doing, named by its link or its ID: its metrics in the shape its placement reports.
  • facebook_page_recent_insightsHow the latest posts on one of the user's Facebook Pages are doing: its newest posts and Reels, each with its metrics in the shape its placement reports, or why it has none (`unavailable`).
  • instagram_account_recent_insightsHow the latest posts on one of the user's Instagram accounts are doing: its newest posts and Reels (Stories are not listed), each with its metrics in the shape its placement reports, or why it has none (`unavailable`).

Agents

Hand whole jobs, such as a playable ad or a motion-design video, to Layer’s managed agents and hold a conversation with them. A turn can take up to an hour, and agents often answer with a question before they start.

  • list_agentsList the Layer agents you can hand work to with send_agent_message: managed specialists for long jobs such as a playable ad, a motion-design video or a 3D model built in Blender.
  • send_agent_messageSend a message to a Layer agent and start its turn.
  • get_agent_responseGet a Layer agent's answer to a message sent with send_agent_message, waiting up to `wait_seconds` for the turn to finish.
  • confirm_agent_spendApprove or decline the spend a Layer agent's turn waits on, as get_agent_response gives it in `pending_spend`.
  • cancel_agent_turnStop a Layer agent's turn.
  • list_chat_sessionsList the sessions on the user's My sessions list in a workspace that hold a conversation with a Layer agent, most recently used first, each with a summary of its latest turn.

Workflows

Workflows are multi-step pipelines built in the Layer app’s Blueprint editor, or imported whole from a graph.

Forge

Forge runs a single model directly, giving you full control over parameters.

  • estimate_forge_priceEstimate the Creative Units price of a forge run before executing it.
  • execute_forgeExecute a forge run to generate images, videos, 3D models, or audio.
  • get_forge_runGet the status and output files of a single-model generation started with execute_forge.
  • cancel_inferenceRequest cancellation of an in-flight inference launched with execute_forge.

Layer tools

Run the tools of the Layer app’s tools menu, such as upscale or reframe: each asks only for the fields its job needs and runs on any model in its pool.

  • list_inference_toolsList the Layer tools the user can run in the workspace, such as `image.upscale` or `video.reframe`.
  • get_inference_toolGet a Layer tool's fields on one of its base models, to fill in `input` for `run_inference_tool`.
  • run_inference_toolRun a Layer tool, such as `image.upscale`, on one of its base models: the one named, else the tool's default for the user.

Video timeline

Compose assets the user already has into a single finished video, estimate the cost first, and poll the render.

  • estimate_video_timeline_priceEstimate the Creative Units price of a video editor render without rendering anything.
  • render_video_timelineEdit assets the user already has into ONE finished video — sequence clips, add transitions, overlay text or logos, layer audio, and give clips a look with effects (chroma key, glow, vignette, film grain, glitch, color washes).
  • get_generation_runCheck status of a generation run launched with a generation tool (e.g.

Files

Upload local files or public URLs for use as inputs in workflows and forge, and track where files are in your production pipeline with lifecycle statuses.

Image operations

Set exact text in a font, stack images into one, and pack or cut sprite sheets. These are file operations: no model runs and no Creative Units are spent.

  • render_textRender exact text into a PNG in a chosen font, such as an uploaded brand font.
  • compose_imageStack workspace images into one flat PNG: overlays, backgrounds with a foreground, or collages.
  • pack_sprite_sheetPack separate frame images into one uniform-cell sprite sheet on a transparent background.
  • split_sprite_sheetCut a sprite sheet into its cells as separate image files, in reading order.

Engine exports

Package finished tiles, 9-slice UI elements and parallax layers with the files a game engine imports them by, as a zip to download. No Creative Units are spent.

  • export_tilesetLay finished tiles out as a tileset a game engine imports, and return a download link to the zip.
  • export_ui_kitExport 9-slice UI elements (buttons, frames, panels) with the files an engine draws them by, and return a download link to the zip.
  • export_parallaxExport a parallax background's layers with the files an engine scrolls them by, and return a download link to the zip.

Reference sets

Reference sets are curated collections of files that describe a character, style or concept, to generate with or to train a custom model on.

  • list_reference_setsList the reference sets (the user's trained styles / custom models) for a workspace.
  • get_reference_setFetch everything about a reference set: its metadata, files and trained finetunes.
  • create_reference_setCreate a new reference set from a list of image, video or audio files in the workspace.

Training

Train a custom LoRA model on a reference set: price it first, start it, follow its progress, and fetch the trained model.

Output scoring

Judge files against the studio standards a workspace or project sets, each scored 0 to 100 with a rationale, and read the verdicts back.

  • list_output_scoring_rulesList the output scoring rules in force for a workspace or project.
  • score_filesScore files against the workspace's (and optionally a project's) output scoring rules.
  • get_file_scoresRead the output scoring verdicts recorded against one file.

Game projects

Set up a project for a published game from its store listings: the project, a product for the game, and its brand imported as reference sets and a skill. Then add, change or remove the products the project advertises.

  • create_project_from_app_listingCreate a project for a published game from its store listings (App Store, Google Play, Steam).
  • create_productAdd a product (a game or app, a website, or a Shopify item) to an existing project.
  • update_productRename a project's product or replace its store and web identifiers.
  • delete_productDelete a project's product and its identifiers for good; there is no undo, so confirm with the user first.