start_web_app
Open the Prompt Lab web UI to create or connect to a workspace for prompt optimization and testing. Provide API keys to enable the Send button.
Instructions
Open the prompt lab web UI. Returns the URL for the browser.
If no workspaceId is given, creates a new empty workspace. If workspaceId is given, connects to that workspace (must exist).
Always pass your environment API keys — they enable the UI Send button. Check each env var and pass it if set: anthropicApiKey: process.env.ANTHROPIC_API_KEY geminiApiKey: process.env.GEMINI_API_KEY openaiApiKey: process.env.OPENAI_API_KEY
After returning the URL, call list_models to register available models. Then set_system_prompt and add_test_cases before running optimization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Existing workspace ID. Omit to create a new workspace. | |
| label | No | Label for new workspace (ignored if workspaceId given) | |
| anthropicApiKey | No | ||
| geminiApiKey | No | ||
| openaiApiKey | No |