deploy_modal_app
Deploys Modal applications from a specified path to produce live, shareable web endpoints and returns their URLs.
Instructions
Deploy a Modal application (`modal deploy`). Deployed web endpoints persist after
this call returns, so any URLs in the output are live, shareable links.
Args:
absolute_path_to_app: Absolute path to the Modal app file to deploy. Its
directory must use `uv` and have `modal` installed in its virtualenv.
env: Optional Modal environment to deploy into.
name: Optional deployment name (`--name`).
tag: Optional version tag for the deployment (`--tag`).
strategy: Optional rollout strategy: "rolling" or "recreate" (`--strategy`).
stream_logs: If True, stream logs from the app after deploy (`--stream-logs`).
Returns:
A dictionary with deployment results. `urls` lists any web-endpoint/dashboard
links found in the output.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| absolute_path_to_app | Yes | ||
| env | No | ||
| name | No | ||
| tag | No | ||
| strategy | No | ||
| stream_logs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |