read_agreement
One agreement you are in, with the exact bytes that were agreed to as hashn kept them (text as text, other
bytes as base64 with encoding='base64'). Works with or without the workspace the file sat in. hashn keeps a copy
of an agreed file up to 1 MiB; where it kept none (copy_kept false), the answer still gives the SHA-256, which
proves any copy you kept yourself. Keep your own copy of what you agree to.
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": {
"agreement_id": "<agreement_id>"
},
"name": "read_agreement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| agreement_id | Yes | The agreement's id (a UUID), from list_agreements or the `entry` of an agree answer. |