| { | |
| "name": "list_preview_branches", | |
| "description": "List all preview branches for a project. Use this tool when you need to search for a preview branch or list all preview branches for a project.", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "projectRef": { | |
| "type": "string", | |
| "description": "The trigger.dev project ref, starts with proj_. We will attempt to automatically detect the project ref if running inside a directory that includes a trigger.config.ts file, or if you pass the --project-ref option to the MCP server." | |
| }, | |
| "configPath": { | |
| "type": "string", | |
| "description": "The path to the trigger.config.ts file. Only used when the trigger.config.ts file is not at the root dir (like in a monorepo setup). If not provided, we will try to find the config file in the current working directory" | |
| } | |
| }, | |
| "additionalProperties": false, | |
| "$schema": "http://json-schema.org/draft-07/schema#" | |
| } | |
| } |