local_key_link
For a key marked usable locally (local_use true in read_references): get a one-use link, valid five minutes at most, and a ready command that writes the value into a local file (default .env.local) without it ever appearing in your messages. Needs an approved secrets.use grant and consumes one use. Run the returned command as it is in the local shell; never fetch the link with a tool whose output comes back to you and never print or read the file. One live link per person: a new link replaces an unused one.
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": {
"project_id": "<project_id>",
"binding_id": "<binding_id>"
},
"name": "local_key_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | No | ||
| name | No | ||
| shell | No | ||
| format | No | ||
| binding_id | Yes | ||
| expires_in | No | ||
| project_id | Yes | ||
| result_offset | No |