calculate_net_worth
Compute net worth by subtracting total liabilities from total assets using JSON maps of named values.
Instructions
Calculate net worth from assets and liabilities. Input JSON maps of name:value pairs. Example assets: {"house": 5000000, "stocks": 200000, "fd": 300000} Example liabilities: {"home_loan": 3000000, "car_loan": 500000}
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": {
"assets_json": "<assets_json>",
"liabilities_json": "<liabilities_json>"
},
"name": "calculate_net_worth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets_json | Yes | ||
| liabilities_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |