Kursach_StealthAction/.opencode/skills/timeline-list/SKILL.md

1.7 KiB

name description metadata
timeline-list List every `TimelineAsset` in the project with its path, GUID, track count and duration. Read-only.
generated-by
mcp-plugin-dotnet

Timeline / List TimelineAssets

Search the project AssetDatabase for TimelineAsset (.playable) assets and report each one's path, GUID, track count, and computed duration.

Inputs

  • includeTrackCount (bool, default true) — when true, load each asset to count its output tracks; when false, skip loading (faster, no counts).

Behavior

Runs AssetDatabase.FindAssets("t:TimelineAsset"), resolves each to a path, and (optionally) loads it for track count + duration. Read-only. Runs on the Unity main thread.

How to Call

unity-mcp-cli run-tool timeline-list --input '{
  "includeTrackCount": false
}'

For complex input (multi-line strings, code), save the JSON to a file and use:

unity-mcp-cli run-tool timeline-list --input-file args.json

Or pipe via stdin (recommended):

unity-mcp-cli run-tool timeline-list --input-file - <<'EOF'
{"param": "value"}
EOF

Troubleshooting

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.

Input

Name Type Required Description
includeTrackCount boolean No If true (default), load each asset to report its track count and duration; if false, skip loading.

Input JSON Schema

{
  "type": "object",
  "properties": {
    "includeTrackCount": {
      "type": "boolean"
    }
  }
}

Output

This tool does not return structured output.