Read File
read_fileRead files from a Remotion project to inspect existing code before targeted edits, supporting .tsx, .ts, .css, .json, and package.json within the project root.
Instructions
Read any file from the Remotion project. Use this to inspect existing code before making targeted edits with write_file. No extension restriction — you can read .tsx, .ts, .css, .json, package.json, etc. Only files inside the project root are accessible.
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": {
"projectPath": "<projectPath>",
"filePath": "<filePath>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path relative to project root of the file to read. Example: "src/overlays/BouncingBall.tsx" | |
| projectPath | Yes | Absolute path to the Remotion project root |