submit_optimization
Start a constrained Step API optimization job on an isolated copy of local source files; returns a run_id for polling and leaves original code unchanged.
Instructions
Start a Step API optimization job in an isolated copy. Requires an allowed source_dir, explicit files, correctness checks, benchmark, and budget. Returns promptly with a run_id; poll status. Sends selected code to StepFun and may incur API charges. Never changes the parent model or original source.
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": {
"job": "<job>"
},
"name": "submit_optimization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes |