create_contract
Create a contract to link a contractor to a project, specifying contract type (lump sum, unit price, cost plus, time and materials) and status.
Instructions
Create a contract linking a contractor to a project.
contract_type: lump_sum|unit_price|cost_plus|time_materials.
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": {
"project_id": "<project_id>",
"contractor_id": "<contractor_id>",
"contract_number": "<contract_number>"
},
"name": "create_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| contractor_id | Yes | ||
| contract_number | Yes | ||
| contract_type | No | lump_sum | |
| status | No | draft | |
| description_en | No | ||
| notes | No |