action_add_secret
Add an existing secret from .env to an endpoint's context using the endpoint path and secret name.
Instructions
Add a secret to an endpoint's context. The secret must exist in .env.
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": {
"endpoint": "<endpoint>",
"secret": "<secret>"
},
"name": "action_add_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | The secret name (e.g. MY_SECRET) | |
| endpoint | Yes | The endpoint path: 'name' (uses v1 package) or 'package/name' |