Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MCP server: mcp and its tools

The Model Context Protocol (MCP) lets an AI assistant call tools. dayzmake mcp is an MCP server that offers the script API index, the file commands and the navmesh commands of dayzmake as tools. The guide shows how to register it; this page is the reference of the protocol subset and of every tool.

dayzmake mcp

Run the MCP server on standard input and output.

dayzmake mcp [-v]
OptionDefaultMeaning
-v, --verboseoffLift the limit of ten warnings per name in each tool call.

Behaviour:

  • Transport: newline-delimited JSON-RPC 2.0 on standard input and output, one JSON object per line. Standard output carries nothing but JSON-RPC replies; progress notes of tools (for example the Proton sandbox) go to standard error. The server runs until its standard input ends and then exits with status 0.
  • Methods: initialize (answers with the protocol version it was asked for if it is 2025-06-18, 2025-03-26 or 2024-11-05, else 2025-06-18; capabilities are {"tools": {}}), ping, tools/list and tools/call. Notifications get no reply. Resources, prompts and sampling are not offered.
  • Requests are handled one after the other. A request line may be at most 16 MiB; a longer one is answered with request line too long and skipped.
  • Tool arguments are JSON objects; a missing required argument, or an argument of the wrong type, gives a tool error result such as argument "pbo" must be a string.
  • The tools take file paths as given, relative to the working directory of the server, and act with the permissions of the user who runs it: they can read, create and, with force, overwrite any file that user can. No tool overwrites a file unless force is true. Register the server only with a client you trust to do that.

See also: Using dayzmake from an MCP client, Script API: api.

Results and errors

A successful tools/call returns {"content": [{"type": "text", "text": "..."}], "isError": false}. A tool that fails returns the same shape with isError: true and the error message as the text; the server keeps running.

  • Warnings of the call come first: warnings: and one line per warning, a blank line, then the output. A cut never drops them. Each call has its own ten-per-name limit.
  • Output is capped at 200000 bytes. A cut result ends with [truncated: showing bytes A-B of N; call again with offset=B]. The offset and length arguments exist on pbo_cat and api_source; other tools return their whole (short) output.
  • A panic in a tool is caught and reported as internal error: the tool "<name>" panicked.

Protocol errors are JSON-RPC errors:

CodeWhen
-32700The line is not JSON (parse error).
-32600The request is not an object, has an invalid id or no method, or the line is too long.
-32601Unknown method (method not found: <method>).
-32602tools/call with bad parameters or an unknown tool (unknown tool "<name>").

A session with the real server (the lines starting with > are requests, the other lines replies; mymod.pbo is the PBO of the first mod guide):

> {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"doc","version":"1"}}}
{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-06-18","serverInfo":{"name":"dayzmake","version":"3.2.0"}}}
> {"jsonrpc":"2.0","method":"notifications/initialized"}
> {"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"api_class","arguments":{"name":"PlayerBase","mods":"My Mod"}}}
{"id":2,"jsonrpc":"2.0","result":{"content":[{"text":"class PlayerBase : Entity  [vanilla 4_world]\n  bool IsAlive()  // Returns true while the player is alive.\n  void OnRPC(PlayerIdentity sender,int rpc_type,ParamsReadContext ctx)\nclass PlayerBase  [My_Mod 4_world]  [modded]\n  void Heal(float amount)  // Added by MyMod.","type":"text"}],"isError":false}}
> {"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"pbo_cat","arguments":{"pbo":"mymod.pbo","file":"config.bin"}}}
{"id":3,"jsonrpc":"2.0","result":{"content":[{"text":"the entry is not UTF-8 text (291 bytes); pass target to write it to a file","type":"text"}],"isError":true}}
> {"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"nope","arguments":{}}}
{"error":{"code":-32602,"message":"unknown tool \"nope\""},"id":4,"jsonrpc":"2.0"}
> {"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"pbo_build","arguments":{"source":"t21","target":"t21-mcp.pbo"}}}
{"id":5,"jsonrpc":"2.0","result":{"content":[{"text":"warnings:\nIn file small.p3d: warning: Model references texture \"t21\\data\\gone_co.paa\", which is not in the addon. [missing-texture]\nIn file small.p3d: warning: Model references material \"t21\\data\\m.rvmat\", which is not in the addon. [missing-material]\nIn file small.p3d: warning: On non-Windows systems binarize.exe is only used with --proton-binarize; file will be copied as-is. [non-windows-binarization]\n\nwrote t21-mcp.pbo","type":"text"}],"isError":false}}
> {"jsonrpc":"2.0","id":6,"method":"tools/call","params":{"name":"pbo_build","arguments":{"source":"t21","target":"t21-mcp.pbo"}}}
{"id":6,"jsonrpc":"2.0","result":{"content":[{"text":"Target file \"t21-mcp.pbo\" already exists. Use --force to overwrite.","type":"text"}],"isError":true}}
> {"jsonrpc":"2.0","id":7,"method":"tools/call","params":{"name":"pbo_verify","arguments":{"public_key":"mykey.bikey","pbo":"mymod.pbo"}}}
{"id":7,"jsonrpc":"2.0","result":{"content":[{"text":"signature is valid","type":"text"}],"isError":false}}

Tools

The API tools take the same mods, experimental, dayz and refresh arguments, and json and max where the CLI command has --json and --max; without mods only vanilla is queried and no tool defaults to all. The file tools take the arguments of their CLI counterparts, with force for --force.

api_class

Members of a DayZ script class from the installed scripts.pbo (vanilla; mods only when selected with mods).

ArgumentTypeRequiredMeaning
namestringyesClass name.
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
inheritedbooleannoAlso show the base classes.
jsonbooleannoReturn JSON instead of text.
maxinteger (≥ 0)noAt most this many lines or items (default 120).
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
mods_onlybooleannoShow only what the selected mods declare.
refreshbooleannoRebuild the cached index first.

Result: The text of dayzmake api class, or JSON with json. See api class.

api_find

Case-insensitive regex over member names, signatures, docs, class names and enum items (so ^OnRPC finds the OnRPC methods).

ArgumentTypeRequiredMeaning
regexstringyesThe regular expression.
classstringnoSearch only the members of this class or enum.
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
jsonbooleannoReturn JSON instead of text.
maxinteger (≥ 0)noAt most this many lines or items (default 120).
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
refreshbooleannoRebuild the cached index first.

Result: The text of dayzmake api find. See api find.

api_subclasses

Subclasses of a class.

ArgumentTypeRequiredMeaning
namestringyesClass name.
allbooleannoInclude indirect subclasses.
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
jsonbooleannoReturn JSON instead of text.
maxinteger (≥ 0)noAt most this many lines or items (default 120).
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
refreshbooleannoRebuild the cached index first.

Result: The names on one line, as dayzmake api sub.

api_enum

Items of an enum.

ArgumentTypeRequiredMeaning
namestringyesEnum name.
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
jsonbooleannoReturn JSON instead of text.
maxinteger (≥ 0)noAt most this many lines or items (default 120).
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
refreshbooleannoRebuild the cached index first.

Result: The text of dayzmake api enum.

api_chain

Base class chain of a class.

ArgumentTypeRequiredMeaning
namestringyesClass name.
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
jsonbooleannoReturn JSON instead of text.
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
refreshbooleannoRebuild the cached index first.

Result: The chain, as dayzmake api chain.

api_source

Files and lines that declare a class or enum; with cat the full source files, with context or lines part of them.

ArgumentTypeRequiredMeaning
namestringyesClass or enum name.
catbooleannoReturn the full source files (with json: the files as JSON).
contextinteger (≥ 0)noReturn n lines around each declaration, with line numbers (excludes cat and lines).
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
forcebooleannoOverwrite existing target files.
jsonbooleannoReturn JSON instead of text.
lengthinteger (≥ 0)noReturn at most this many bytes (default and maximum 200000).
linesstringnoReturn lines a to b of each file as “a-b”, with line numbers (excludes cat and context).
maxinteger (≥ 0)noAt most this many lines or items (default 120).
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
offsetinteger (≥ 0)noStart at this byte of the output (default 0). A cut-off reply names the offset that fetches the rest.
refreshbooleannoRebuild the cached index first.
targetstringnoWith cat: write the files to this file instead of returning them (cannot be combined with context or lines).

Result: The locations, as dayzmake api src; with cat the source files, which can be long: use offset and length to page, or target to write them to a file (target together with context or lines, or without cat, is an error).

api_grep

Full-text search over the script bodies (every .c file of vanilla and the selected mods, read from the PBOs). Matches raw lines, comments included.

ArgumentTypeRequiredMeaning
regexstringyesRegular expression, matched against each line.
ignore_casebooleannoMatch case-insensitively.
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
jsonbooleannoReturn JSON instead of text.
maxinteger (≥ 0)noAt most this many lines or items (default 120).
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.

Result: The matching lines, as dayzmake api grep.

api_config

Look up a config class (config.bin and config.cpp of the game and the selected mods, merged in load order the way the engine does): its inheritance chain, its own and inherited properties each tagged with the class they come from, its direct subclasses and the PBOs that define it; a redefinition that changes or drops the base class (as the engine does) is reported as a base change. The path is a /-separated class path such as CfgVehicles/Hatchback_02, matched ignoring case.

ArgumentTypeRequiredMeaning
pathstringyesThe class path, for example CfgVehicles/Hatchback_02 or CfgWeapons/M4A1.
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
jsonbooleannoReturn JSON instead of text.
maxinteger (≥ 0)noAt most this many lines or items (default 120).
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
refreshbooleannoRebuild the cached index first.

Result: The class, as dayzmake api config.

api_defines

Compile-time defines of the selected indexes, optionally filtered by a regex.

ArgumentTypeRequiredMeaning
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
jsonbooleannoReturn JSON instead of text.
maxinteger (≥ 0)noAt most this many lines or items (default 120).
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
refreshbooleannoRebuild the cached index first.
regexstringnoFilter regular expression.

Result: The defines, as dayzmake api defines.

api_update

Rebuild the cached indexes now. With mods=all this indexes every installed mod, which warms the caches for later queries.

ArgumentTypeRequiredMeaning
dayzstringnoDayZ client/server directory (uses <dir>/dta/scripts.pbo) instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
modsstringnoAlso query these mods, comma separated: cf, cot, dabs, expansion, aliases (those four, if installed), all (every installed mod with scripts; the first run builds the caches and can take a while, later runs are quick; api_update with mods=all warms them), a workshop id, a mod name or @dir name (see api_mods) or a mod directory. Without it only vanilla is queried.
refreshbooleannoRebuild the cached index first.

Result: One line per rebuilt index, as dayzmake api update.

api_mods

List the installed mods (workshop id, name, directory, whether they have scripts); the names and ids can be used in the mods argument of the other api tools. Reading them is quick; querying all of them with mods=all builds the caches on the first run and can take a while; api_update with mods=all warms them.

ArgumentTypeRequiredMeaning
dayzstringnoDayZ client/server directory instead of the Steam install.
experimentalbooleannoUse the experimental branch instead of stable.
jsonbooleannoReturn JSON instead of text.

Result: The installed mods, as dayzmake api mods (JSON with json).

pbo_inspect

List the entries of a PBO, or describe a model (P3D, MLOD or ODOL v56: format, LODs, textures, selections).

ArgumentTypeRequiredMeaning
pathstringyesPBO or P3D file.
jsonbooleannoPBOs only: return the header as JSON with the raw bytes of names as hex.

Result: The text of dayzmake inspect: the PBO listing or the model description; with json, the object of dayzmake inspect --json (an error for a model).

pbo_cat

Read one entry of a PBO: returned as text if it is UTF-8, otherwise write it to target.

ArgumentTypeRequiredMeaning
filestringyesEntry name.
pbostringyesPBO file.
forcebooleannoOverwrite existing target files.
lengthinteger (≥ 0)noReturn at most this many bytes (default and maximum 200000).
offsetinteger (≥ 0)noStart at this byte of the output (default 0). A cut-off reply names the offset that fetches the rest.
targetstringnoWrite the entry to this file instead of returning it (required for binary data).

Result: The entry as text when it is UTF-8, or wrote <target> (<n> bytes) with target. A binary entry without target is an error: the entry is not UTF-8 text (291 bytes); pass target to write it to a file. Large entries are cut at 200000 bytes with a note that names the offset that continues.

pbo_unpack

Unpack a PBO into a folder, all of it or the entries selected by only and exclude. Unsafe entry names are skipped with a warning.

ArgumentTypeRequiredMeaning
pbostringyesPBO file.
targetstringyesFolder to extract into.
forcebooleannoOverwrite existing target files.
use_prefixbooleannoExtract into <target>/<prefix>/.
excludearray of stringsnoGlob patterns of entries to leave out (case-insensitive, / separators).
onlyarray of stringsnoGlob patterns: write only the entries that match one (exclude wins).

Result: unpacked <pbo> to <target>.

extract

Unpack every PBO of a DayZ install, a mod folder or a single PBO into one tree <target>/<prefix>/<entry>, optionally derapified, and write the prefix to PBO map pbo-map.tsv. The tree replaces an existing target atomically with force.

ArgumentTypeRequiredMeaning
sourcestringyesDayZ client or server folder, mod folder (dta/ and addons/ are searched) or one PBO.
targetstringyesFolder to write the tree to.
forcebooleannoReplace an earlier extract result or an empty folder.
derapifybooleannoWrite every rapified .bin as a .cpp of the same name.
excludearray of stringsnoGlob patterns of entries to leave out (case-insensitive, / separators).
onlyarray of stringsnoGlob patterns: write only the entries that match one (exclude wins).

Result: extracted <n> files from <m> PBOs to <target>. See extract.

pbo_pack

Pack a folder into a PBO without binarizing or rapifying.

ArgumentTypeRequiredMeaning
sourcestringyesFolder to pack.
targetstringyesPBO file to write.
excludearray of stringsnoGlob patterns to leave out.
forcebooleannoOverwrite existing target files.
headerextarray of stringsnoHeader extensions as key=value.
keystringnoPrivate key (.biprivatekey): sign the PBO after packing.

Result: wrote <target>, or wrote and signed <target> when key was given.

pbo_build

Build a PBO from a folder, rapifying configs and binarizing models.

ArgumentTypeRequiredMeaning
sourcestringyesFolder to pack.
targetstringyesPBO file to write.
excludearray of stringsnoGlob patterns to leave out.
forcebooleannoOverwrite existing target files.
headerextarray of stringsnoHeader extensions as key=value.
includearray of stringsnoFolders to search for includes (the current directory is only checked directly, not searched).
keystringnoPrivate key (.biprivatekey): sign the PBO after packing.
proton_binarizebooleannoLinux: binarize models with DayZ Tools’ binarize.exe under Proton.

Result: wrote <target>. Warnings of the build come first in the text.

config_rapify

Preprocess and rapify a config file.

ArgumentTypeRequiredMeaning
sourcestringyesConfig source file.
targetstringyesFile to write.
forcebooleannoOverwrite existing target files.
includearray of stringsnoFolders to search for includes.

Result: wrote <target> (<n> bytes).

config_derapify

Convert a rapified config back to text.

ArgumentTypeRequiredMeaning
sourcestringyesRapified config.
forcebooleannoOverwrite existing target files.
targetstringnoWrite the text here; absent: return it.
indentstringnoIndentation per level: spaces and tabs only, at most 64 characters, default four spaces.

Result: The text of the config, or wrote <target> (<n> bytes) with target.

config_preprocess

Preprocess a file (macros, includes).

ArgumentTypeRequiredMeaning
sourcestringyesFile to preprocess.
forcebooleannoOverwrite existing target files.
includearray of stringsnoFolders to search for includes.
targetstringnoWrite the result here; absent: return it.

Result: The preprocessed text, or wrote <target> (<n> bytes) with target.

paa_to_image

Convert a PAA texture to an image (the format follows the target extension, e.g. png). DXT1 to DXT5, RGBA, ARGB4444, ARGB1555 and AI88 are read; a PNG file named .paa gets an error that says so.

ArgumentTypeRequiredMeaning
sourcestringyesPAA file.
targetstringyesImage file to write.
forcebooleannoOverwrite existing target files.

Result: wrote <target>.

image_to_paa

Convert an image to a PAA texture.

ArgumentTypeRequiredMeaning
sourcestringyesImage file.
targetstringyesPAA file to write.
compressbooleannoLZO-compress DXT mipmaps wider than 128 px (always done; kept for compatibility).
forcebooleannoOverwrite existing target files.
typestringnoPAA type, e.g. dxt1, dxt5 (default dxt5).

Result: wrote <target>.

key_generate

Generate a key pair (<name>.biprivatekey and <name>.bikey).

ArgumentTypeRequiredMeaning
namestringyesPath of the key without extension.
forcebooleannoOverwrite existing target files.

Result: generated <name>.biprivatekey and <name>.bikey.

pbo_sign

Sign a PBO with a private key.

ArgumentTypeRequiredMeaning
pbostringyesPBO file.
private_keystringyesPrivate key file.
forcebooleannoOverwrite existing target files.
signaturestringnoSignature file (default <pbo>.<key>.bisign).
v2booleannoWrite an older v2 signature.

Result: signed; the signature is written to signature, by default <pbo>.<key>.bisign.

pbo_verify

Verify the signature of a PBO with a public key.

ArgumentTypeRequiredMeaning
pbostringyesPBO file.
public_keystringyesPublic key file (.bikey).
signaturestringnoSignature file (default <pbo>.<key>.bisign).

Result: signature is valid, or an error result that says what does not match.

binarize

Binarize a model with BI’s binarize.exe (Windows; on Linux through Proton).

ArgumentTypeRequiredMeaning
sourcestringyesModel file.
targetstringyesFile to write.
forcebooleannoOverwrite existing target files.

Result: wrote <target>, or an error when DayZ Tools or Proton cannot be found (see Binarizing models).

Ask the navmesh data server of DayZDiag_x64.exe (started with -startNavmeshDataServer) for the world parameters and, with tile, one tile.

ArgumentTypeRequiredMeaning
serverstringnoData server, host or host:port (port 36533 by default, host 127.0.0.1).
tilestringnoAlso fetch this tile and summarise it, as "x,z".
jsonbooleannoReturn JSON instead of text.

Result: the text of dayzmake navmesh probe (JSON with json), or an error that names the server and how to start it. See navmesh.

Build the navmesh (.nm) of a terrain mod from a navmesh data server or a capture and save it to target. A whole map can take many minutes, and the call returns only when the run is over; use range for a part. The mesh is saved even when some tiles failed, and the call then reports an error that says so.

ArgumentTypeRequiredMeaning
targetstringyesThe .nm file to write.
serverarray of stringsnoData servers, each host or host:port (default 127.0.0.1); several share the work. Not with capture.
capturestringnoRead the tiles from this .dzgeo capture instead of a server.
recordstringnoWrite the fetched tiles to this .dzgeo capture.
rangestringnoTile range to build as "x0,z0,x1,z1" (inclusive, clamped to the world).
basestringnoPatch the new tiles into this existing .nm.
skip_existingbooleannoLeave out the tiles that base already has (needs base).
checkpointinteger (≥ 0)noSave the target after every n finished tiles (0: off).
threadsinteger (≥ 0)noBuilder threads, 1 to 256; 0 or absent: cores - 1, at least 1.
connectionsinteger (≥ 0)noConnections to the data servers, 1 to 256; 0 or absent: one per server.
sea_levelnumber or stringnoSea level in metres instead of the server’s deep sea height.
doorsstringnoDoor state baked into the mesh: closed (default), open or enabled.
seedstringnoIsland filter seed as "x,y,z" instead of the world’s seed position.
no_linksbooleannoNo jump, climb or ladder links.
no_island_filterbooleannoDo not flag polygons that the seed cannot reach.
forcebooleannoOverwrite existing target and record files.

Result: the summary of dayzmake navmesh generate (built <n> tiles, ..., wrote <target>), after the warnings; no progress is reported. A run that was stopped or that lost tiles is an error result that starts with the same summary, then (when a continuation makes sense) has the navmesh_generate arguments that continue it (to continue with navmesh_generate: target=..., base=..., skip_existing=true, force=true, ...), and ends with failed: <reason>; the partial mesh is saved all the same. More than 256 threads or connections is an error. See navmesh.

Summarise a .nm navmesh: the grid and the totals, with tiles one line per tile.

ArgumentTypeRequiredMeaning
sourcestringyesThe .nm file.
tilesbooleannoOne line (or JSON object) per tile.
jsonbooleannoReturn JSON instead of text.

Result: the text of dayzmake navmesh info (JSON with json).