Export clauses
clause_exportExport the whole clause library to a single file in contract order for re-import. Returns file path, format, and clause count.
Instructions
Call this tool to write the whole library to one file and return the path, format and count. It is written in contract order, so it re-imports the same way. markdown is free; json is Pro.
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": {
"path": "<path>",
"format": "<format>"
},
"name": "clause_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Destination file path. The clauses are written in assembly order, categories first | |
| format | Yes | json (a Pro feature) or markdown (works in the free tier) | |
| overwrite | No | Replace the destination if a file is already there. Without it an existing file is never touched |