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_clone_sourcesList the source ids a template type can be cloned from
jiangyu_templates_conversation_rolesList a ConversationTemplate's roles (name and Guid)
jiangyu_templates_prototype_supported_typesList composite types that support from= prototype lookups
jiangyu_templates_prototype_candidatesList the from= prototype-source names for a constructed 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_project_additionsList the asset additions the project ships, by category
jiangyu_assets_index_statusCheck whether the asset index is current
jiangyu_assets_indexRebuild the asset index

Code tools

ToolWhat it does
jiangyu_code_syncScaffold or refresh the code/ C# project (idempotent)
jiangyu_code_typesList the [JiangyuType] types the project defines, with base type and fields

Cross-reference tools

ToolWhat it does
jiangyu_xref_typeFind template directives that reference a mod [JiangyuType] by name
jiangyu_xref_assetFind template directives that reference a bundled asset by its logical name

Unity tools

ToolWhat it does
jiangyu_unity_initScaffold the unity/ project for prefab and UXML authoring
jiangyu_unity_openLaunch Unity Editor on the project's unity/, version-matched to the game
jiangyu_unity_import_prefabExtract a vanilla game prefab into unity/Assets/Imported/

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

Build tools

ToolWhat it does
jiangyu_compileCompile the mod (blocks until complete, returns full result)
jiangyu_compile_summaryGet the result of the last compile
jiangyu_deployDeploy the compiled mod into the game's Mods/ folder

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.