Create Test Scenario
create-test-scenarioCreate a test scenario linked to a user story and allocate a real TS-. Response includes content: canonical stub markdown already containing id: TS- and story: US-. BLOCKING workflow: call this FIRST → Write the returned content to the repo plans/scenarios path (edit body as needed but keep id: and story:) → call update-test-scenario with the full markdown. Never write scenario markdown that omits id. update-test-scenario rejects missing id/story with a clear error. platformFilePath must be under plans/scenarios/ and end with .md. userStoryOrdinalId is the numeric part of the parent US- id. Optional agentTraceability records Activity inline (no separate report-agent-action for this create).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platformFilePath": "<platformFilePath>",
"title": "<title>",
"userStoryOrdinalId": "<userStoryOrdinalId>"
},
"name": "create-test-scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | No | QA bots: your botId from your stored TestChimp binding. | |
| title | Yes | ||
| gitSha | No | ||
| userId | No | ||
| actorType | No | ||
| projectId | No | The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret. | |
| agentModel | No | ||
| branchName | No | ||
| cliVersion | No | ||
| policyFile | No | ||
| workflowId | No | ||
| skillVersion | No | ||
| policyVersion | No | ||
| projectApiKey | No | Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it. | |
| platformFilePath | Yes | ||
| agentTraceability | No | ||
| userStoryOrdinalId | Yes | ||
| workflowExecutionId | No |