Panel: save what the user typed
save_secretStores a user-provided secret for a pending request so the app can use it while keeping the secret, tool input, and result hidden from the AI model.
Instructions
The panel's form sends what the user typed (a database password, the sharing code) for the ask in its _meta (or read with secret_request). App-only: the model never sees this tool, its input or result.
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": {
"request": "<request>",
"secret": "<secret>"
},
"name": "save_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | ||
| request | Yes |