modal_secret_create
Create a new secret in Modal with key-value pairs, specifying name and environment. Use force to overwrite existing secrets.
Instructions
Create a new secret.
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": {
"name": "<name>"
},
"name": "modal_secret_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment to interact with | |
| name | Yes | Name of the secret | |
| force | No | Overwrite if already exists | |
| keyValues | No | List of KEY=VALUE strings |