Solve a shift schedule
solve_shiftRun the Shiftyasan solver on a shift scheduling payload to produce a schedule; synchronous response within about 30 seconds.
Instructions
Run the Shiftyasan solver on a shift scheduling request payload. Synchronous (returns within ~30 seconds for solver_timeout_seconds <= 30). Charged per call: requires SHIFTYASAN_API_KEY with sufficient quota. Tip: call validate_shift_input first to confirm the payload shape (free). See https://api.shiftyasan.com/v1/public/openapi.json for the request/response schema.
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": {
"request": "<request>"
},
"name": "solve_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | The full SolveRequest payload (schedule_period, shifts, duties, employees, constraints, options). Schema: GET <base URL>/v1/public/openapi.json (base URL = SHIFTYASAN_BASE_URL, default https://api.shiftyasan.com). |