write_steps
Create or replace reusable step classes that package journey actions once, letting tests call them to stay short and avoid duplicate recordings.
Instructions
Create or replace a steps class in package steps: reusable journeys written once and called by any test, so tests stay short and one recording serves them all. It holds steps only, never tests.
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": {
"file_name": "<file_name>",
"content": "<content>"
},
"name": "write_steps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| file_name | Yes | For example Orders.java |