set_secret
Writes a Login secret (name and password) into a collection from exactly one source—file, generation, or owner prompt—keeping the value out of arguments and output.
Instructions
Write a secret into a collection as a Login (name and password).
Give exactly one source: from_file (path to a file holding the value), generate (random value) or prompt (the owner is asked for the value outside the chat). The value never appears in the arguments or in the output.
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": {
"collection": "<collection>",
"name": "<name>"
},
"name": "set_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| prompt | No | ||
| generate | No | ||
| from_file | No | ||
| collection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |