| { | |
| "name": "create_prompt_override", | |
| "description": "Create a dashboard override for a prompt. The override takes precedence over the current code version when resolving the prompt. Provide the full text content for the override.", | |
| "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" | |
| }, | |
| "environment": { | |
| "type": "string", | |
| "enum": [ | |
| "dev", | |
| "staging", | |
| "prod", | |
| "preview" | |
| ], | |
| "description": "The environment to get tasks for", | |
| "default": "dev" | |
| }, | |
| "branch": { | |
| "type": "string", | |
| "description": "The branch to get tasks for, only used for preview environments" | |
| }, | |
| "slug": { | |
| "type": "string", | |
| "description": "The prompt slug" | |
| }, | |
| "textContent": { | |
| "type": "string", | |
| "description": "The full text content for the override" | |
| }, | |
| "model": { | |
| "type": "string", | |
| "description": "Optional model override" | |
| }, | |
| "commitMessage": { | |
| "type": "string", | |
| "description": "Optional commit message describing the change" | |
| } | |
| }, | |
| "required": [ | |
| "slug", | |
| "textContent" | |
| ], | |
| "additionalProperties": false, | |
| "$schema": "http://json-schema.org/draft-07/schema#" | |
| } | |
| } |