Create blank analysis suite
wopee_create_blank_suiteCreates a new empty analysis suite in the current project. Returns the suite UUID required for subsequent test generation and artifact management steps.
Instructions
Create a new empty analysis suite in the current project. Use this as the first step when you want to manually build a test suite — the returned suite UUID is needed by wopee_generate_artifact, wopee_fetch_artifact, wopee_update_artifact, and wopee_dispatch_agent. If you want to auto-analyze a web app instead, use wopee_dispatch_analysis which creates and populates a suite in one step. Takes no input parameters; uses WOPEE_PROJECT_UUID from environment. Not idempotent: each call creates a new suite. Returns the suite object with UUID, name, type, and status. Fails if WOPEE_PROJECT_UUID is not configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function that executes the tool logic. Reads WOPEE_PROJECT_UUID from config, sends a GraphQL mutation (CreateBlankAnalysisSuite) to create a blank analysis suite, and returns the created suite object as JSON. Returns an error if project UUID is missing or the API returns no data.
handler: async () => { try { const { WOPEE_PROJECT_UUID } = getConfig(); if (!WOPEE_PROJECT_UUID) return { content: [ { type: "text" as const, text: "WOPEE_PROJECT_UUID is not set", }, ], }; const result = await requestClient<{ createBlankAnalysisSuite: AnalysisSuite; }>(CreateBlankAnalysisSuite, { projectUuid: WOPEE_PROJECT_UUID, }); if (!result?.createBlankAnalysisSuite) return { content: [ { type: "text" as const, text: "Failed to create blank suite: no data returned", }, ], }; return { content: [ { type: "text" as const, text: JSON.stringify(result.createBlankAnalysisSuite, null, 2), }, ], }; } catch (error) { return _parseError(error); } }, }; - src/tools/shared/types.ts:2-16 (schema)Enum registration of the tool name 'wopee_create_blank_suite' (ToolName.WOPEE_CREATE_BLANK_SUITE).
WOPEE_CREATE_BLANK_SUITE = "wopee_create_blank_suite", WOPEE_FETCH_ANALYSIS_SUITES = "wopee_fetch_analysis_suites", WOPEE_FETCH_EXECUTED_TEST_CASES = "wopee_fetch_executed_test_cases", WOPEE_DISPATCH_ANALYSIS = "wopee_dispatch_analysis", WOPEE_DISPATCH_AGENT = "wopee_dispatch_agent", WOPEE_FETCH_ARTIFACT = "wopee_fetch_artifact", WOPEE_UPDATE_ARTIFACT = "wopee_update_artifact", WOPEE_GENERATE_ARTIFACT = "wopee_generate_artifact", WOPEE_SEND_CHAT_MESSAGE = "wopee_send_chat_message", WOPEE_READ_CHAT_HISTORY = "wopee_read_chat_history", WOPEE_CREATE_GITHUB_ISSUE = "wopee_create_github_issue", } - src/tools/shared/types.ts:83-93 (schema)Type definition for AnalysisSuite, describing the return shape of createBlankAnalysisSuite including uuid, name, suiteType, executionStatus, etc.
export type AnalysisSuite = { uuid: string; name: string | null; suiteType: SuiteType | null; executionStatus: ExecutionStatus | null; analysisIdentifier: string | null; suiteRunningStatus: SuiteRunningStatus | null; createdAt: string; updatedAt: string; generatedAnalysisDataState: GeneratedAnalysisDataState | null; }; - src/tools/index.ts:6-28 (registration)Import and registration of the tool in the TOOLS array (line 14).
import { wopeeCreateBlankSuite } from "./wopee_create_blank_suite/index.js"; import { wopeeFetchAnalysisSuites } from "./wopee_fetch_analysis_suites/index.js"; import { wopeeFetchExecutedTestCases } from "./wopee_fetch_executed_test_cases/index.js"; import { wopeeSendChatMessage } from "./wopee_send_chat_message/index.js"; import { wopeeReadChatHistory } from "./wopee_read_chat_history/index.js"; import { wopeeCreateGithubIssue } from "./wopee_create_github_issue/index.js"; export const TOOLS = [ wopeeCreateBlankSuite, wopeeFetchAnalysisSuites, wopeeFetchExecutedTestCases, wopeeDispatchAnalysis, wopeeDispatchAgent, wopeeFetchArtifact, wopeeUpdateArtifact, wopeeGenerateArtifact, wopeeSendChatMessage, wopeeReadChatHistory, wopeeCreateGithubIssue, ]; - Import of CreateBlankAnalysisSuite GraphQL query from shared/gql-queries.js and _parseError from helpers.
import { CreateBlankAnalysisSuite } from "../shared/gql-queries.js";