Copy assets at given paths and store them at new paths. Refreshes the AssetDatabase at the end. Use 'assets-find' to locate the source assets first.
日本語の概要は準備中です。原文の説明を表示しています。
Retrieve Unity Editor logs from the MCP plugin's `LogCollector`, optionally filtered by log type or time window. Useful for debugging and monitoring Editor activity.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Retrieves Unity Editor logs. Useful for debugging and monitoring Unity Editor activity.
maxEntries (default 100, minimum 1) — caps the size of the returned array.logTypeFilter — Unity LogType filter; null returns all severities.includeStackTrace (default false) — include stack-trace strings in each entry.lastMinutes (default 0) — when non-zero, only logs from the last N minutes are returned.sinceSequence (default 0) — every entry carries a sequence number. When greater than 0, only entries with a higher sequence are returned, oldest first, up to maxEntries.To read only what is new, pass the highest sequence you have received as sinceSequence; if the result has maxEntries entries, call again with the new highest sequence to continue. If returned sequences are lower than your cursor, the log restarted.
unity-mcp-cli run-tool console-get-logs --input '{
"maxEntries": 0,
"logTypeFilter": "string_value",
"includeStackTrace": false,
"lastMinutes": 0,
"sinceSequence": 0
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool console-get-logs --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool console-get-logs --input-file - <<'EOF' {"param": "value"} EOF
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead.
Read the /unity-initial-setup skill for detailed installation instructions.
| Name | Type | Required | Description |
|---|---|---|---|
maxEntries | integer | No | Maximum number of log entries to return. Minimum: 1. Default: 100 |
logTypeFilter | any | No | Filter by log type. 'null' means All. |
includeStackTrace | boolean | No | Include stack traces in the output. Default: false |
lastMinutes | integer | No | Return logs from the last N minutes. If 0, returns all available logs. Default: 0 |
sinceSequence | integer | No | Return only entries whose sequence is greater than this value, oldest first. If 0, returns the most recent entries. Default: 0 |
{
"type": "object",
"properties": {
"maxEntries": {
"type": "integer"
},
"logTypeFilter": {
"$ref": "#/$defs/UnityEngine.LogType"
},
"includeStackTrace": {
"type": "boolean"
},
"lastMinutes": {
"type": "integer"
},
"sinceSequence": {
"type": "integer"
}
},
"$defs": {
"UnityEngine.LogType": {
"type": "string",
"enum": [
"Error",
"Assert",
"Warning",
"Log",
"Exception"
]
}
}
}
{
"type": "object",
"properties": {
"result": {
"$ref": "#/$defs/com.IvanMurzak.Unity.MCP.LogEntry-1"
}
},
"$defs": {
"com.IvanMurzak.Unity.MCP.LogEntry": {
"type": "object",
"properties": {
"LogType": {
"type": "string",
"enum": [
"Error",
"Assert",
"Warning",
"Log",
"Exception"
]
},
"Message": {
"type": "string"
},
"Timestamp": {
"type": "string",
"format": "date-time"
},
"StackTrace": {
"type": "string"
},
"sequence": {
"type": "integer"
}
},
"required": [
"LogType",
"Timestamp",
"sequence"
]
},
"com.IvanMurzak.Unity.MCP.LogEntry-1": {
"type": "array",
"items": {
"$ref": "#/$defs/com.IvanMurzak.Unity.MCP.LogEntry"
}
}
},
"required": [
"result"
]
}
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Copy assets at given paths and store them at new paths. Refreshes the AssetDatabase at the end. Use 'assets-find' to locate the source assets first.
日本語の概要は準備中です。原文の説明を表示しています。
Create a new folder under a parent folder inside 'Assets/'. The parent path must start with 'Assets/' and every intermediate folder in it must already exist. Refreshes the AssetDatabase at the end and returns the GUID(s) of the created folder(s).
日本語の概要は準備中です。原文の説明を表示しています。
Delete the assets at the given project paths. Refreshes the AssetDatabase at the end. Use 'assets-find' to locate the assets first.
日本語の概要は準備中です。原文の説明を表示しています。
Search the Unity asset database using a search filter string. The filter accepts names, labels (`l:`), types (`t:`), AssetBundles (`b:`), areas (`a:`), and globs (`glob:`). See the body for the full filter syntax.
日本語の概要は準備中です。原文の説明を表示しています。
Search the built-in assets of the Unity Editor (located at Resources/unity_builtin_extra). Filters by name and/or type; built-in assets have no GUID so GUID-based lookups are not supported.
日本語の概要は準備中です。原文の説明を表示しています。
Get asset data from the asset file in the Unity project — every serializable field and property. Supports token-saving path-scoped reads via `paths` or `viewQuery`. Use 'assets-find' to find the asset first.
日本語の概要は準備中です。原文の説明を表示しています。