Skip to content

Available tools

These are the tools Studio exposes to AI agents via the Model Context Protocol (MCP). You don't call these directly. The agent uses them automatically when working on your requests, and this page documents what the agent can do.

Template tools

ToolWhat it does
jiangyu_templates_searchSearch templates by name or type substring
jiangyu_templates_queryGet the full field schema for a template type (names, types, collections, enums)
jiangyu_templates_inspectInspect a template instance's vanilla field values
jiangyu_templates_valueRead a single field value from a template instance
jiangyu_templates_enum_membersList all members of a game enum type
jiangyu_templates_parseParse a KDL string and return structured AST or errors
jiangyu_templates_serialiseSerialise a template document back to KDL text
jiangyu_templates_index_statusCheck whether the template index is current
jiangyu_templates_indexRebuild the template index
jiangyu_templates_project_clonesList template clones in the project

Asset tools

ToolWhat it does
jiangyu_assets_searchSearch game assets by name, type, or category
jiangyu_assets_previewGet a preview of an asset
jiangyu_assets_exportExport an asset for editing
jiangyu_assets_index_statusCheck whether the asset index is current
jiangyu_assets_indexRebuild the asset index

File tools

ToolWhat it does
jiangyu_list_directoryList files in a project directory
jiangyu_list_all_filesList all files in the project
jiangyu_create_fileCreate a new file
jiangyu_edit_fileEdit an existing file
jiangyu_create_directoryCreate a directory
jiangyu_move_pathMove or rename a file or directory
jiangyu_copy_pathCopy a file or directory
jiangyu_delete_pathDelete a file or directory
jiangyu_grepSearch file contents by pattern

Compile tools

ToolWhat it does
jiangyu_compileCompile the mod (blocks until complete, returns full result)
jiangyu_compile_summaryGet the result of the last compile

Config tools

ToolWhat it does
jiangyu_config_statusCheck Jiangyu configuration (game path, editor path, cache)
jiangyu_read_manifestRead the project's jiangyu.json manifest

Documentation tools

ToolWhat it does
jiangyu_docs_listList all available reference documents
jiangyu_docs_readRead a reference document (KDL syntax, manifest schema, etc.)

Context resources

In addition to callable tools, Studio provides MCP resources the agent can fetch:

  • jiangyu://project-context: current project root, manifest content, and configuration status.
  • jiangyu://docs/{key}: reference documentation (same content as jiangyu_docs_read).

These give the agent background knowledge about your project without needing to call tools.