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.
| 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#
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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "command_help",
"arguments": {
"name": "item.trim"
}
}
}The 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.