Skip to content

The nine Intrigues tools

Claude calls nine tools. You do not call them yourself: you ask Claude for what you want, and it picks the tool. This page is the full list, so you can see what each tool can do before you let Claude use it.

All nine run inside the Unity editor, in a part of Intrigues called Intrigue Drafts. Claude reaches them through an MCP server that is connected to your editor. The server is either MCP for Unity (the Coplay route) or Unity’s own MCP (the Unity route). The tools have the same names and the same parameters on both routes.

On the Unity route, Claude calls each tool by its name, for example intrigues_status. Some clients add a prefix in front of the name, such as mcp__unity-official__intrigues_status.

On the Coplay route, Claude calls one tool, execute_custom_tool, and puts the Intrigues tool’s name in tool_name and its parameters in parameters:

execute_custom_tool(
tool_name: "intrigues_status",
parameters: {})

Every example below shows the parameters only. Use them as the direct call on the Unity route, or as the parameters of execute_custom_tool on the Coplay route.

Tool What it is for What it changes
intrigues_status The first call of every session: versions, folders, the database, Play mode and compile state. Nothing.
intrigues_catalog Writes the node catalog, the list of nodes Claude may use. Writes Markdown files.
intrigues_inventory Writes a summary of what your database holds. Writes one Markdown file.
intrigues_validate Checks a draft on a copy of your database. Nothing in your database.
intrigues_apply Writes a draft into your database. The database, in one undo step.
intrigues_export Writes existing content as a draft file. Writes a JSON file.
intrigues_open Opens the Studio on a scheme, clan, family, node, actor or page. Opens a window.
intrigues_scene_actors Adds scene objects for named actors to the open scene. The open scene, in one undo group.
intrigues_scheme_report Reads how the running schemes of a playing game stand. Nothing. It only reads.
  • Parameter names. The names below are the exact names. On the Coplay route, a name written with other capitals, or with a dash instead of an underscore, is read the same way.
  • The work folder. Drafts, reports, exports, backups and the inventory live in a folder named IntriguesAI, in your Unity project folder, next to Assets. intrigues_status returns its absolute path as workFolder. Claude builds every path from it.
  • Paths. A path can be absolute, or relative to the project folder. Intrigue Drafts reads a draft only from below IntriguesAI, and a file must end in .json and be at most 2 MB. Anything else is refused with X-PATH. A file that does not exist answers X-NOT-FOUND.
  • The database. Each tool that works on a database takes an optional database: an asset path below Assets/, or a GUID. Left out, the tool picks one and says in its answer which one and why.
  • Unlisted parameters. On the Coplay route, a parameter a tool does not list is ignored, and the answer carries an X-OPTIONS warning that names it. On the Unity route, only the listed parameters are passed on.
  • One answer. Every tool answers with one report. See Results: what a call returns.
  • Main thread. A tool runs on Unity’s main thread. A call from any other thread is refused with X-MAIN-THREAD.
  • Adapter off. If the adapter for the route you use is switched off in the Intrigues menu, every call answers X-ADAPTER-OFF. See Safety and consent.

Purpose. Reports what Claude needs before it does anything else: the Intrigues version, the absolute projectPath and workFolder, whether Unity is compiling or in Play mode, which database it would use, the node catalog and its hash, the installed skill, and the state of both MCP adapters.

Parameter Required Default Meaning
database No The database Intrigue Drafts would choose Report on this database: an asset path below Assets/ or a GUID.

Example call.

parameters: {}

What it changes. Nothing.

Safe? Yes. It is cheap and Claude calls it first in every session. If several databases exist and none is chosen, the answer lists the candidates in databaseCandidates and Claude asks you which one to use.

Purpose. Writes the node catalog: the Markdown reference of every node, its fields and its outputs, which Claude reads before it plans a scheme. The catalog is two files, catalog.md and catalog-behaviour.md.

Parameter Required Default Meaning
out No The installed skill’s references/catalog.md (and catalog-behaviour.md beside it). If the skill is not installed, IntriguesAI/. With filter, one file, IntriguesAI/catalog-<filter>.md, holding both parts. A file below IntriguesAI/ to write to, absolute or relative to the project folder.
filter No All "all" or "scheme". Every node is a scheme node now, so "scheme" only makes the tool write one combined file. Any other value is refused with X-OPTIONS.
inline No false Also return the Markdown in the answer, for clients without file access.
group No None With inline: return only this search-menu group, for example "Dialogue".
part No "both" "core" writes catalog.md, "behaviour" writes catalog-behaviour.md, "both" writes both.

Example call.

parameters: { "inline": true, "group": "Dialogue" }

What it changes. It writes the catalog files. It does not touch your database, your scenes or your scripts.

Safe? Yes. Claude calls it when the catalog hash in intrigues_status differs from the hash in the first line of the catalog file.

Purpose. Writes a summary of your database: schemes, variables, actors, clans, families and definitions. Claude reads it so that it reuses what exists, for example your Gold variable, instead of inventing a second one.

Parameter Required Default Meaning
database No The database the status report names The database to summarise.
detail No "names" "names" or "full". Any other value is an error.
out No IntriguesAI/inventory.md A file below IntriguesAI/ to write to.
inline No false Also return the Markdown in the answer.

Example call.

parameters: { "detail": "names" }

What it changes. It writes one Markdown file. Nothing else.

Safe? Yes. It also works in Play mode.

Purpose. Checks a draft against your real database and the real node classes, and returns a report. It is the dry run of intrigues_apply: with the same parameters it predicts what apply will do.

Parameter Required Default Meaning
draft Yes None A .json file below IntriguesAI/ (at most 2 MB), or the draft JSON text itself.
database No The database the status report names The database to check against.
audit No "standard" "standard", "strict" or "off". Claude uses "strict".
confirm No None Existing items you agreed to change, copied from the N-CONFIRM messages, for example ["scheme:Assassination"].
allow_warnings No true false makes any warning stop an apply.
allow_package_database No false Lets apply change a database that ships with Intrigues.
brief No false A short answer: errors and warnings in full, information lines only counted, no statistics, no node maps.
ids No false With brief: keep the per-item plan and the created IDs.
stable_ids No false Derive the IDs of new items from what they are, so the same draft gives the same IDs on every run.
fold_changes No false Build every change that can be folded as a line under the output that leads to it, instead of as a card. The graph runs the same.

Example call.

parameters: {
"draft": "<workFolder>/drafts/a-gift.json",
"audit": "strict" }

What it changes. Nothing in your database. The check runs on a hidden copy that is never saved. Intrigue Drafts saves a draft you pass as text under IntriguesAI/drafts/, and writes a report file for the draft under IntriguesAI/reports/.

Safe? Yes. It works in Play mode and while a test run plays. An inline draft can be at most 200,000 characters, or the call answers X-DRAFT-TOO-LARGE.

Purpose. Checks a draft and, only if the check is clean, writes it into your database.

Parameter Required Default Meaning
draft Yes None A .json file below IntriguesAI/ (at most 2 MB), or the draft JSON text itself.
database No The database the status report names The database to write into.
audit No "standard" "standard", "strict" or "off".
save No false Save the database asset after applying. Left false, the change stays unsaved.
open No true Show the first created graph in the Studio.
layout No true Arrange the new graphs with the layout tools.
confirm No None Existing items you agreed to change. Only after you said yes.
allow_warnings No true false makes any warning stop the apply.
allow_package_database No false Lets apply change a database that ships with Intrigues (the Demo, the Example).
brief No false A short answer, as for validate.
ids No false With brief: keep the per-item plan and the created IDs.
stable_ids No false Derive the IDs of new items from what they are. Pass the same value to validate.
fold_changes No false Fold every change that can be folded. Pass the same value to validate.

Example call.

parameters: {
"draft": "<workFolder>/drafts/a-gift.json",
"audit": "strict",
"save": false,
"open": true }

What it changes, in order.

  1. It refuses to start while Unity is in Play mode (X-PLAYMODE), while Unity is compiling (X-COMPILING), or while a test run plays in the Studio (X-TEST-RUN).
  2. It refuses a database that ships with Intrigues (the Demo or the Example) with X-PACKAGE-DATABASE, unless allow_package_database is true. This happens when the database is chosen.
  3. It validates the draft. A draft with errors is never written.
  4. It writes a backup of every existing item the draft will change, to IntriguesAI/backups/<date-time>/. If a backup cannot be written, it stops before it changes anything (X-BACKUP). Items the draft only creates have nothing to back up.
  5. It writes the draft into the database in one undo step, named Apply Draft: and the draft’s title. If anything goes wrong while writing, the whole step is reverted.
  6. It saves the database only if save is true.
  7. It opens the first created graph in the Studio if open is true.

If the draft changes content that Intrigue Drafts did not make, or that you edited since, the check answers N-CONFIRM. Claude then asks you. Only after you say yes does it pass exactly those items in confirm.

Undo. One Edit > Undo in Unity removes the whole draft. The Studio has no undo key of its own.

Safe? It changes your database, so it is the one tool to watch. It never deletes or renames anything. A replace rebuilds a whole graph, and the old version is in the backup. It never saves unless save is true. It keeps the old version of anything it changes in IntriguesAI/backups/. A write that is confirmed, goes into a shipped database, or saves, also leaves a Console line that starts with Intrigue Drafts:.

Purpose. Writes content that already exists in your database as a draft file, so that Claude can read it, edit a copy and apply the copy.

Parameter Required Default Meaning
selector Yes None What to export: scheme:<name>, clan:<name>, family:<name>, definitions, texts, all, or a comma list.
database No The database the status report names The database to export from.
out No IntriguesAI/exports/, in a file named after the selector, for example scheme-court-favour.json A file below IntriguesAI/, outside drafts/, reports/ and backups/.
with_definitions No false Include the definitions the graphs use: variables, cultures, policies, roles and actors.
inline No false Also return the exported JSON in the answer.
brief No false Leave the statistics out of the report.

Example call.

parameters: { "selector": "scheme:Assassination" }

What it changes. It writes one JSON file. It never replaces a file that was edited after the tool wrote it: the new export gets a numbered name and the answer says so with X-FILE-KEPT.

Safe? Yes. It works in Play mode.

Purpose. Opens the Intrigues Studio on one thing, so that you can look at it.

Parameter Required Default Meaning
selector Yes None What to show: scheme:<name>, clan:<name>, family:<name>, node:<id>, actor:<name> or page:<page>, for example page:Variables.
database No The database the status report names The database to open.

Example call.

parameters: { "selector": "scheme:A Gift for the Council" }

What it changes. It opens or moves the Studio window. It names one thing at a time: a selector with several parts is refused with X-SELECTOR.

Safe? Yes.

Purpose. Adds an object to the open scene for each named actor of your database that has none yet, so that the actor can appear in your game.

Parameter Required Default Meaning
actors Yes None The names of the actors to add, or "id:<id>". There is no "all".
database No The database the status report names The database the actors come from.
dry_run No false Only list what would be created.

Example call.

parameters: { "actors": ["Aldric Varn"], "dry_run": true }

What it changes. Each new object is a GameObject at the origin with an InitialActor component, named like the object the Actors page creates. All objects are made in one undo group named Create Actor Objects. The scene is marked as changed. The tool never saves the scene.

What it refuses.

  • In Play mode, or when Play mode is about to start: X-PLAYMODE.
  • When the active scene has never been saved: X-NO-SCENE. Open the game scene, or save the new scene once.
  • A name that matches no actor, or more than one: the whole call stops and nothing is created.
  • Actors that already have an object in a loaded scene are skipped, and the answer lists them with the reason.

Safe? It changes your scene, so Claude calls it only after you agreed to change that scene. Use dry_run first to see the list. Edit > Undo removes the objects.

Purpose. A read-only look at a game that is playing. It returns, as JSON, how each running scheme stands: its status, its progress, the current and the next objective, who takes part, the odds the scheme states, and the newest log lines. Use it to see how a plot goes, or why a scheme you wrote stalls.

Parameter Required Default Meaning
scheme No Every running scheme A scheme’s name or ID. Capitals do not matter.
actor No Every actor Only the runs this actor runs, that is, where the actor is the conspirator. A name, a full name, an ID, or "id:<id>". A name that two actors share matches none: use the ID.
lines No 5 The newest log lines to list for each run, from 0 to 50. 0 leaves the log out, and logKept still says how many lines exist. A number outside 0 to 50 is cut to the nearest limit, with an X-OPTIONS warning. On the Coplay route, text such as "3" is read as a number. A value that is not a whole number is an error.
all_runs No false false lists only runs a player takes part in. true also lists the runs only the game controls.

At most 100 runs are listed. If more match, the answer has runsTruncated: true. On the Coplay route, a parameter the tool does not list is ignored, with an X-OPTIONS warning. On the Unity route, only the listed parameters are passed on.

Example call.

parameters: { "scheme": "The Coup", "lines": 3 }

What it changes. Nothing. The tool writes nothing to your game, your scene or your assets. It saves nothing, makes no undo entry, and switches no setting on. The menu’s request channel, if you use it, still writes its own request.result.json, as it does for every tool.

Safe? Yes. It has no effect on your project.

When the game is not playing. Outside Play mode the tool answers with ok: true, playing: false, an empty schemes list, and an information line N-NOT-PLAYING. The summary says: “The game is not playing, so no scheme is running. Press Play, then ask again.” It is never an error. While Play mode is starting or reloading, the answer has the same shape and the summary says the game is still starting. A test run in the Scheme Run panel is not Play mode.

Which runs have a log. A run counts as watched when its conspirator or one of its accomplices is played, or when its target is played and the scheme tells its target. By default the tool lists only watched runs. It counts the others in runs.hiddenUnwatched and adds an information line N-RUNS-HIDDEN. With all_runs: true it lists them too.

A log is kept for a watched run. A watched run with no lines yet carries the note “No line was written yet.” A log is also kept for a run nobody watches when the scheme setting Always keep a log is on. You find that setting in the Studio, in the settings of the scheme itself, with nothing selected. It is off at first. A run nobody watches, and whose scheme does not keep a log, still has its status, progress, objectives and odds. Its log is empty and a note says that it keeps no log.

What each run holds. Its id and its own key run (two runs of one scheme share the id), name, status, result, day, progress (null when the scheme states none), objective, nextObjective, conspirator, target, accomplices, odds, watched, logKept, hasLog, log and text. The status is running, paused, ended or notRunning. A run that cannot be read has status unreadable and an error. A run the tool may not see has status hidden and only its id, run and name.

Codes you can see.

Code Kind Meaning
N-NOT-PLAYING Information The game is not playing, or is still starting.
X-NO-SUCH-SCHEME Error No scheme has the name you gave. The answer suggests names.
N-NO-RUNS Information No run is listed: nothing runs, the scheme or actor you named has no run now, or every run was left out because no player takes part (see N-RUNS-HIDDEN).
X-NO-SUCH-ACTOR Error No actor has the name you gave, or two actors share it. The answer suggests names.
N-RUNS-HIDDEN Information Runs were left out because no player takes part in them.
X-OPTIONS Warning or error Warning: a parameter was unknown and ignored, or lines was outside 0 to 50 and was cut. Error: a value had the wrong kind.

The shape of the answer is in Results: what a call returns.

Results: what a call returns, A first session, Safety and consent.