mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-03 05:44:44 +08:00
1.4 KiB
1.4 KiB
name, version, description, allowed-tools, allowed-api-operations
| name | version | description | allowed-tools | allowed-api-operations |
|---|---|---|---|---|
| command-dispatch | 2 | Use this skill when the user sends a slash command or asks to run a MoviePilot system or plugin command in natural language. Discover the live command catalog, resolve the exact command, and dispatch it through the structured API gateway. | moviepilot_api | slash.list slash.run plugin.capabilities |
Command Dispatch
Use moviepilot_api; retired command tools and MCP aliases do not exist.
- For a literal
/command ..., preserve the command text and inspect the live catalog withslash.listwhen availability or syntax is uncertain. - For natural-language requests, call
slash.list, then match the returned name, description, and category. If a plugin owns the capability, optionally callplugin.capabilitiesfor its declared commands and actions. - Never invent a command or argument. If the live catalog has no match, report that no supported command was found.
- Command execution changes external state. Obtain confirmation unless the user already explicitly requested the exact command/action.
- Dispatch with
slash.runandbody.commandcontaining the complete command, for example/sites disable 3. Check the returned acceptance/result before reporting completion.
Examples of intent mapping such as site sync, subscription refresh, cache clear,
or restart are hints only; the live slash.list response is authoritative.