secrets_get_secret
Retrieve metadata of a secret by ID, including name, tags, and version count, without exposing the secret value.
Instructions
Get metadata of a single secret by ID.
This returns metadata only (name, tags, version count, ...), never the
stored secret value. Use access_secret_version to read a value.
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": {
"secret_id": "<secret_id>"
},
"name": "secrets_get_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Region to target. Defaults to the configured region. | |
| secret_id | Yes | The secret ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||