CREATE_BUY_SELL_AGREEMENT
Generates a buy/sell agreement template as a .docx file with standard clauses: triggering events, valuation method, payment terms, insurance, dispute resolution.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
output_path | string | yes | Output .docx path |
company_name | string | yes | Company name |
owners | array | yes | [{name, ownership_pct, shares}] |
valuation_method | string | — | Valuation method: 'agreed_value', 'formula', 'appraisal', 'book_value' |
agreed_value | number | — | Company valuation (if agreed_value method) |
payment_terms | string | — | Payment terms description |
effective_date | string | — | Agreement effective date |
How to use it
You normally trigger this by describing what you want in chat — the agent selects CREATE_BUY_SELL_AGREEMENT automatically. For example:
Try saying
“create a financial tools document”
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "financial_tools",
"action": "CREATE_BUY_SELL_AGREEMENT",
"args": {
"output_path": "/Users/me/Documents/file.txt",
"company_name": "…",
"owners": []
},
"depends_on": [],
"outputs": []
}Direct call
For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.
bash
curl -X POST http://127.0.0.1:8000/execute_tool \
-H "Content-Type: application/json" \
-d '{"tool_name":"CREATE_BUY_SELL_AGREEMENT","args":{"output_path":"/Users/me/Documents/file.txt","company_name":"…","owners":[]}}'Part of the financial_tools plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.