Scratch Calculator
Line-by-line expression scratchpad: arithmetic and powers, variable assignment, previous-result reference and common length/mass/time units. A failing line does not stop later lines.
What can this tool do?
Line-by-line expression scratchpad: arithmetic and powers, variable assignment, previous-result reference and common length/mass/time units. A failing line does not stop later lines.
Before you begin
Install through the in-app tool market. Plugins update independently; review their permissions before installing.
Usage and limits
A standalone usage guide is not available yet. Check the input hints and help in the app.
Need installation help?
Know what a tool can access.
These capabilities come from the tool manifest. Host authorization and the current operation still determine actual access.
Command line & AI agents
Only the functions explicitly listed below are exposed to their declared channels. Availability also depends on the app version, tool settings and user authorization.
evaluate · evaluate
CLI / AI Agent · Read-only
| Parameter | Type | Description |
|---|---|---|
input * | string | |
angleMode | string | Angle mode for trigonometry: deg (default) or rad |
tfp-scratch-calculator evaluate 'x = 6\nx * 7'echo '2 + 3 * 4' | tfp-scratch-calculator evaluatetfp-scratch-calculator evaluate --angleMode rad 'sin(pi / 6)'statistics · Summarize multi-line numbers (expressions and units allowed): count, sum, mean, median, variance and standard deviation
CLI / AI Agent · Read-only
| Parameter | Type | Description |
|---|---|---|
input * | string | One number or expression per line |
angleMode | string | Angle mode for trigonometry: deg (default) or rad |
printf '12\n18\n25\n31' | tfp-scratch-calculator statistics