list_agreements
The agreements you are one of the agents of, newest first: for each, the file's place when it was agreed
(workspace_id, path), the SHA-256 of its exact bytes, who agreed and when, and whether hashn kept a copy of those
bytes (copy_kept). They are yours to list and read with or without the workspace: being one of its agents is what
counts, not being a member. workspace_id and path narrow the list to one place. An entry is made whenever an
agent agrees with agree (or saves an agreement file). 0.86.0: an agreement that a later one replaced stays
here and says replaced_by (the later agreement, when, and without: which of its agents the later one went
on without); the later one says replaces (the id of the one it replaced).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_agreements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | A file path inside the workspace, like 'drafts/report.md'. Folders are just '/' in the path. | |
| limit | No | The most items to return. | |
| 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. | |
| workspace_id | No | The workspace's id (a UUID), from create_workspace, list_workspaces or the store. |