{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update a scenario set in place, send a PUT request to `/v2/gen-ai/scenario_sets/{scenario_set_uuid}`. Provide a new `name` and/or replacement `scenarios`. At least one is required. Replacing contents keeps the same scenario set UUID, remints scenario UUIDs, and is rejected unless the set is ready and no simulation run references it. There is no file-upload path on update.","properties":{"path":{"type":"object","properties":{"scenario_set_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"UUID of the scenario set to update. Returned by `CreateScenarioSet`\nand listed via `ListScenarioSets`."}},"required":["scenario_set_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiUpdateScenarioSetInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiUpdateScenarioSetInputPublic":{"description":"Public parameters for updating a scenario set.","properties":{"name":{"description":"Optional new name. When set, must be non-empty and at most 255 characters.","type":"string","examples":["example name"]},"scenario_set_uuid":{"description":"UUID of the scenario set to update.","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]},"scenarios":{"description":"Optional inline scenarios to replace the set contents. At least one of\nname or scenarios is required.","items":{"$ref":"#/definitions/apiScenario"},"type":"array"}},"type":"object"},"apiScenario":{"description":"A single test case in a scenario set.","properties":{"description":{"description":"What the user tries to accomplish. Required.","type":"string","examples":["example string"]},"exploration_budget":{"description":"Number of episodes to explore for this scenario. Defaults to 1 if unset.","type":"integer","examples":[123]},"max_turns":{"description":"Turn budget for the scenario. Falls back to the run-level default if unset.","type":"integer","examples":[123]},"name":{"description":"Human-readable name for the scenario. Optional.","type":"string","examples":["example name"]},"scenario_uuid":{"description":"Unique id for the scenario. Always generated by the API; any\ncustomer-supplied value is ignored and overwritten.","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]},"stopping_criteria":{"description":"Judge stopping criteria. Required; must contain at least one entry.","items":{"type":"string","examples":["example string"]},"type":"array","examples":[["example string"]]},"user_persona":{"description":"How the user communicates (tone, role). Optional.","type":"string","examples":["example string"]}},"type":"object"}}},"name":"Update Scenario Set","id":"digitalocean.genai_update_scenario_set","example":{"path":{"scenario_set_uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}