decrypt
Decrypts a previously encrypted ref using its key_id, writes the plaintext to output.md, and returns the file path.
Instructions
Decrypt an encrypted ref's text. Writes the plaintext to output.md and returns the path.
You need the key_id that was returned when the ref was encrypted.
Args: ref: A ref string like "run_id/agent_id", or a JSON object with a "ref" field. key_id: The key ID returned by the encrypt tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| key_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |