call_api
Invoke any DaVinci Resolve API method by specifying a target, method name, and JSON arguments—enabling agents to control projects, media, timelines, and other Resolve features.
Instructions
Call ANY Resolve API method: target is a reference ("project", "media_pool", "timeline",
"item:", "clip:", "graph:item:", "handle:", ...), method the API method
name (see list_api_methods) and args its positional arguments as JSON. Inside args, objects
are {"$ref": "..."} and constants {"$const": "NAME"}. Returned objects come back as references.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"method": "<method>"
},
"name": "call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| method | Yes | ||
| target | Yes |