run-script
Executes a predefined After Effects script or command with optional parameters through the MCP Bridge, returning its synchronous result.
Instructions
Run a command in After Effects and return its result. Executes synchronously over a local socket to the MCP Bridge panel.
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": {
"script": "<script>"
},
"name": "run-script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Name of the predefined script/command to run | |
| parameters | No | Optional parameters for the script |