invarium_get_workflow
Retrieve the Invarium QA workflow guide for a specific phase. Returns step-by-step instructions for completing that phase of the agent testing lifecycle.
When to Use
Call invarium_get_workflow when you need guidance on what to do next in the testing workflow. The tool returns the instructions for a specific phase so your IDE assistant can follow them automatically.
The four phases of the Invarium workflow are:
| Phase | Description |
|---|---|
1 | Agent Registration — analyze codebase, create blueprint, upload agent |
2 | Test Generation — generate and retrieve behavioral test cases |
3 | Test Execution — set up tracing, run tests, sync results |
4 | Analysis — review results, compare runs, interpret audit findings |
Parameters
invarium_get_workflowRetrieve the Invarium QA workflow guide for a specific phase. Returns step-by-step instructions for completing that phase.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
phase | int | null | default: null | Workflow phase to retrieve (1–4). If omitted, returns the full workflow overview. |
Returns
Markdown-formatted workflow guide with step-by-step instructions for the requested phase.
Example
"What should I do next after uploading my blueprint?"Response
Returns a markdown-formatted guide with the instructions for the requested phase. If no phase is specified, returns an overview of all four phases with brief descriptions and suggested next steps based on your workspace state.
Examples
Get the Full Workflow Overview
"Show me the Invarium workflow overview."Get Instructions for a Specific Phase
"What do I do in Phase 3 of the Invarium workflow?"Ask for Next Steps
Your IDE assistant may call this automatically when it needs guidance on what to do after completing a step:
"I've uploaded my blueprint. What's next?"Error Responses
| Error | Cause | Fix |
|---|---|---|
Authentication failed | Invalid or missing API key. | Verify your INVARIUM_API_KEY. Run invarium_connect first. |
Invalid phase: must be 1, 2, 3, or 4 | The phase parameter is not in the valid range. | Use a phase number between 1 and 4, or omit it for the full overview. |
See Error Codes for the full error reference.