deploy_modal_app
Deploy a Modal app to publish persistent, shareable live endpoints; use it when you need app URLs that remain available for sharing or integration.
Instructions
Deploy a Modal app (`modal deploy`). Deployed endpoints persist after this returns,
so any URLs in the result are live, shareable links.
Args:
absolute_path_to_app: Absolute path to the app file. Its directory must use `uv`
and have `modal` installed in its virtualenv.
env: Modal environment to deploy into.
name: Deployment name (`--name`).
tag: Version tag (`--tag`).
strategy: Rollout strategy — "rolling" or "recreate".
stream_logs: Stream the app's logs after deploying.
profile: Modal profile for this call only. Defaults to the active profile.
Returns: {message, urls (live endpoints), stdout, stderr}.
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": {
"absolute_path_to_app": "<absolute_path_to_app>"
},
"name": "deploy_modal_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| tag | No | ||
| name | No | ||
| profile | No | ||
| strategy | No | ||
| stream_logs | No | ||
| absolute_path_to_app | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |