stop_modal_container
Stop a running Modal container by sending a termination signal, canceling in-flight tasks and rescheduling them.
Instructions
Terminate a running Modal container (`modal container stop`).
Sends SIGINT to the container; in-flight inputs are cancelled and rescheduled elsewhere.
Args:
container_id: Container ID (e.g. "ta-123456"), from list_modal_containers.
Returns:
A dictionary containing the result of the stop operation.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |