Skip to content

MCP tools

command_help

Operation help. Discover operations.

Last updated:

Discover operations. No arguments: video operations, a line each, then the domains. domain=<name>: its operations; domain=export: presets, codecs. name (e.g. item.split): description, args JSON Schema, example, error codes; read before using a new operation.

Behaviour#

These are the annotations of the tool definition, the hints a client uses to decide whether to ask before a call. command_help is listed by tools/list.

PropertyValue
Read onlyyes
Destructiveno
Idempotentyes
Reaches outside the workspaceno

Input#

ArgumentTypeRequiredNotes
namestringno
domainstring, one of 10 valuesno

Output#

A result has a text block, written for the model, and structured content with these members.

MemberTypeAlways presentNotes
commandsarray of objectno
commandobjectno
domainsarray of objectno

Errors#

A call over HTTP without credentials fails with E_UNAUTHORIZED, and too many calls with E_RATE_LIMITED. Both are in the error codes.

Next steps#

Ask the agent

How do I trim a clip? Read the operation before using it.

The call

tools/call
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "command_help",
    "arguments": {
      "name": "item.trim"
    }
  }
}

The result

result
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "…"
      }
    ],
    "structuredContent": {
      "command": {
        "name": "item.trim",
        "scope": "edit"
      }
    }
  }
}

The values are illustrative. The text block holds the same result written for the model; its wording is left out here.