# command_help

> Operation help. Discover operations.

Source: https://stuarty.com/docs/mcp/tools/command_help/

Discover operations. No arguments: video operations, a line each, then the domains. domain=&lt;name&gt;: 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`.

| Property | Value |
| --- | --- |
| Read only | yes |
| Destructive | no |
| Idempotent | yes |
| Reaches outside the workspace | no |

## Input

| Argument | Type | Required | Notes |
| --- | --- | --- | --- |
| `name` | `string` | no |  |
| `domain` | `string`, one of 10 values | no |  |

## Output

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

| Member | Type | Always present | Notes |
| --- | --- | --- | --- |
| `commands` | array of `object` | no |  |
| `command` | `object` | no |  |
| `domains` | array of `object` | no |  |

## Errors

- [`E_VALIDATION`](/docs/reference/error-codes#e_validation)
- [`E_UNKNOWN_COMMAND`](/docs/reference/error-codes#e_unknown_command)

A call over HTTP without credentials fails with `E_UNAUTHORIZED`, and too many calls with `E_RATE_LIMITED`. Both are in the [error codes](/docs/reference/error-codes).

## Next steps

- [Connect a client](/docs/mcp/connect)
- [The MCP tools](/docs/mcp/tools)

**Ask the agent**

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

**The call**

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

**The result**

```json
{
  "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.
