Skip to content

Results: what a call returns

Every Intrigues tool answers with one report. The report says whether the call worked, what it found, and what it did. Claude reads it and tells you in plain words.

You rarely read a report yourself. This page is for the day you want to, or when something goes wrong and you want to see what Claude saw.

On this page, a sample marked recorded or trimmed real result was captured from a real run, with parts cut where it says so. A sample marked shape, not a recording is built from the code. Its values are placeholders in angle brackets. No value on this page was made up.

All nine tools return the same kind of report. Some keys appear only when they apply.

Key What it holds
ok true if the call worked. false if any problem is an error.
op The operation: status, catalog, inventory, validate, apply, export, open or sceneActors or schemeReport.
database path and chosenBy: which database the call used and why.
draftFile The draft file the call used. For a draft passed as text, the file Intrigue Drafts saved it to.
reportFile The report file written for the draft.
summary One or two plain sentences.
counts errors, warnings, infos, and audit with strict and info.
problems Each problem: severity (error, warning or info), code, and often path, message, fix and suggestions. A parse error also has line and column. A problem may also carry strict (an audit finding that blocks) and node.
truncated true if the list of problems was cut. At most 60 problems are listed, errors first.
plan What apply will do, or did: steps with action, kind, name, and sometimes id, nodes and note.
stats, created Statistics per graph, and what apply created with its IDs. Left out with brief.
backups The backup files apply wrote.
output, text The file a tool wrote, and its content when you asked for inline.
undo The name of the undo step apply made.
saved Whether apply saved the database.
elapsedMs How long the call took.
next What to do next, in a sentence.

With brief, information lines are only counted (counts.infos, and infosOmitted), the plan becomes planCounts, and created becomes createdCounts.

Tool Extra keys
intrigues_status packageVersion, draftFormat, draftFormats, projectPath, workFolder, workFolderExists, editor (unity, playing, changingPlayMode, compiling), catalogHash, catalog, skill, adapters, databaseCounts, databaseInPackage, databaseCandidates, services.
intrigues_catalog output (and outputs when two files were written), catalogHash, and text with inline.
intrigues_inventory output, and text with inline.
intrigues_validate, intrigues_apply plan, stats, next. Apply also has created, backups, undo and saved.
intrigues_export output, and text with inline.
intrigues_scene_actors scene, dryRun, objects (what was or would be created) and skipped (each actor and the reason). Also undo when objects were created.
intrigues_scheme_report playing, day, filter, schemes, runs and runsTruncated. See the next section.

In adapters, each of coplay and unity says whether its package is installed (package), whether the adapter is compiled (compiled) and whether it is switched on (enabled). The Unity entry also has preview.

The report on its own: shape, not a recording

Section titled “The report on its own: shape, not a recording”

This is the shape of a report from intrigues_validate that found one error. Everything in angle brackets is a placeholder.

{
"ok": false,
"op": "validate",
"database": { "path": "<asset path>", "chosenBy": "<why this database>" },
"draftFile": "<absolute path of the draft>",
"summary": "<one or two sentences>",
"counts": { "errors": 1, "warnings": 0, "infos": 0, "audit": { "strict": 0, "info": 0 } },
"problems": [
{
"severity": "error",
"code": "<code, for example N-EXISTS>",
"path": "<where in the draft>",
"message": "<what is wrong>",
"fix": "<what to do>"
}
],
"elapsedMs": "<milliseconds>"
}

intrigues_scheme_report returns the same kind of report, with these extra keys.

Key What it holds
playing true while the game plays. Outside Play mode it is false, schemes is empty, and problems holds the information line N-NOT-PLAYING.
day The game day. Left out outside Play mode.
filter What you asked for: scheme, actor, lines and allRuns.
schemes One entry per run. Each has id, run, name, status, result, day, progress, objective, nextObjective, conspirator, target, accomplices, odds, watched, logKept, hasLog, log and text. A run with no log has a note.
runs Counts: running, inScope, shown and hiddenUnwatched.
runsTruncated true when more than 100 runs matched.

Trimmed real result, recorded in the product status note: one call over MCP for Unity, outside Play mode. The dots mark what was cut.

{
"success": true,
"message": "...",
"data": {
"ok": true,
"op": "schemeReport",
"playing": false,
"problems": [ { "severity": "info", "code": "N-NOT-PLAYING", "...": "..." } ],
"...": "..."
}
}

The answer of a game that plays has not been recorded from a real run yet. The sample below is the real output of the tool over a fake game in an offline test, trimmed. Its names and numbers belong to that fake game. It is not a recording of a real game.

{
"ok": true,
"op": "schemeReport",
"summary": "1 running scheme (day 42).",
"problems": [],
"playing": true,
"day": 42,
"filter": { "scheme": "coup", "actor": null, "lines": 3, "allRuns": false },
"schemes": [
{
"id": "coup", "run": "r7", "name": "The Coup", "status": "running", "result": "none", "day": 42,
"progress": null,
"objective": "Obj coup", "nextObjective": "Next coup",
"conspirator": { "id": "a2", "name": "Berta" },
"target": { "id": "a3", "name": "Cedric" },
"odds": { "success": { "known": true, "percent": 55.5 }, "risk": { "known": false, "percent": null } },
"watched": true, "logKept": 4, "hasLog": true,
"log": [ { "day": 40, "kind": "custom", "text": "line 0" }, "..." ],
"...": "..."
}
],
"runs": { "running": 3, "inScope": 1, "shown": 1, "hiddenUnwatched": 0 },
"elapsedMs": 0
}

Over MCP for Unity (route 1), as the first sample shows, the report arrives under data. Over Unity’s relay (route 2) it arrives under data too, with success, message and, on failure, error and code (the first error code). This tool has not been run over the relay yet.

Unity’s MCP relay passes on only four fields of a tool’s answer: success, message, error and data. An older Intrigues adapter returned the report itself, with ok and summary. So over the relay every Intrigues call came back like this.

Sample recorded, on Unity 6000.0.85f2 with com.unity.ai.assistant 2.23.0-pre.1, 2026-12-02:

{"success": false, "error": "Unknown error"}

The same call through Unity’s tool registry worked, which hid the problem. If you see this answer, see Troubleshooting.

The current adapter wraps the report in Unity’s own result shape. Over the real relay, with it, these answers were recorded on 2026-12-02: intrigues_status returned success with the full report under data; intrigues_validate on a scheme that already existed returned success: false, an error, and the full report under data with the problem N-EXISTS.

Only trimmed records of these answers were kept. Only success, message, error and data reach the client. A top-level code is dropped, so read the code in data.problems[].code.

Trimmed real result: intrigues_status over the relay on Unity 6000.0.85f2, 2026-12-02. The dots mark what was cut.

{
"success": true,
"message": "Intrigue Drafts 2.0.0. Database: Assets/MrW/Intrigues Demo/Database/Hollow Throne Database.asset (graph editor; a shipped database, read-only for Apply). The editor is ready.",
"data": {
"ok": true,
"op": "status",
"counts": { "errors": 0, "...": "..." },
"editor": { "unity": "6000.0.85f2", "...": "..." },
"databaseCounts": { "schemes": 59, "...": "..." }
}
}

Trimmed real result of a call that did not work, over the relay. The MCP result also has isError: true. The summary is shown as <summary>.

{
"success": false,
"error": "<summary>",
"data": { "...": "the full report, with problems[].code" }
}

success mirrors the report’s ok. data is the whole report. If the report cannot be read as JSON, the answer has success: false, the message in message and error, and a small data with ok, op and summary.

On this route Claude calls execute_custom_tool. The tool returns the report in the response types of MCP for Unity: a success carries the report under data, and an error carries the report under data too. Only one answer from this route was recorded, and only trimmed (a successful intrigues_status), so the failure sample is a shape. If the report cannot be read as JSON, the answer has success: false and the message in code and error, with no data.

Trimmed real result: intrigues_status over MCP for Unity on Unity 6000.0.85f2, 2026-12-02.

{
"success": true,
"message": "Intrigue Drafts 2.0.0. Database: Assets/MrW/Intrigues Demo/Database/Hollow Throne Database.asset (graph editor; a shipped database, read-only for Apply). The editor is ready.",
"data": {
"ok": true,
"op": "status",
"summary": "...",
"counts": { "errors": 0, "...": "..." },
"packageVersion": "2.0.0",
"editor": { "unity": "6000.0.85f2", "playing": false },
"adapters": { "coplay": { "compiled": true, "enabled": true }, "unity": { "compiled": true, "enabled": true, "preview": true } },
"databaseCounts": { "schemes": 59, "clans": 41, "...": "..." }
}
}

Shape, not a recording: a call that did not work.

{
"success": false,
"code": "<the report's summary>",
"error": "<the report's summary>",
"data": { "ok": false, "op": "<operation>", "problems": [ { "severity": "error", "code": "<code>" } ] }
}

On this route code and error both hold the summary, not a problem code. The problem codes are in data.problems[].code. A parameter the tool does not list adds a warning with the code X-OPTIONS to data.problems.

  1. Look at success, or at ok inside data.
  2. If it is false, read problems. The first errors come first.
  3. Use fix and suggestions where they exist.
  4. If the code is N-CONFIRM, the draft changes something you made. Claude must ask you before it goes on.

Codes that begin with X- come from the environment (Play mode, compiling, the database, a path). The others come from the draft.

Troubleshooting, The nine Intrigues tools.