save_calculation
Saves a calculator scenario to the authenticated user's stored history. Use when the user asks to save, keep or remember a scenario. Stores the inputs unencrypted (with server-computed results) so list/load can return them later.
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": {
"calculationType": "<calculationType>",
"inputs": "<inputs>"
},
"name": "save_calculation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the saved scenario. | |
| inputs | Yes | Tool-style inputs for the matching calculator (same shape its calculator tool accepts). | |
| calculationType | Yes | Calculator type to save under. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| locked | No | ||
| series | No | ||
| createdAt | No | ||
| updatedAt | No | ||
| assumptions | No | ||
| calculationType | No |