{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To cancel an in-progress simulation run, send a PATCH request to `/v2/gen-ai/simulation_runs/{run_uuid}/cancel`.","properties":{"path":{"type":"object","properties":{"run_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"UUID of the simulation run to cancel. Returned by `CreateSimulationRun`\nand listed via `ListSimulationRuns`. The run must be in a non-terminal\nstatus; already-terminal runs return an error."}},"required":["run_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiCancelSimulationRunInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiCancelSimulationRunInputPublic":{"description":"Public parameters for cancelling a simulation run.","properties":{"run_uuid":{"description":"UUID of the run to cancel.","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]}},"type":"object"}}},"name":"Cancel Simulation Run","id":"digitalocean.genai_patch_cancel_simulation_run","example":{"path":{"run_uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}