Tools
Calculator
Perform basic arithmetic operations.
Perform basic arithmetic operations (add, subtract, multiply, divide).
Playground
Your organization, project and token stay in this browser's local storage and are sent straight to the API — this page never sees them.
Billing
Fixed cost per item requested. The calculation runs inside Botify, so there is nothing to bill beyond the per-call price.
These usage SKUs can be charged on a call.
| SKU | Credits | Description |
|---|---|---|
| Tool call | 1 per request | Charged once per successful item. |
Schemas
item is what you send, config how the tool behaves,
and the response is what you get back.
Item
objectexpression
string
required
Arithmetic expression to evaluate
{
"expression": "string"
}
Response
objectresult
integer | number
required
Arithmetic expression evaluation result
{
"result": 0
}
Endpoints
http://agents.botify.com/{organization}/{project}/calculator/process
http://agents.botify.com/{organization}/{project}/calculator/batch_process
http://agents.botify.com/{organization}/{project}/calculator/async_process
http://agents.botify.com/{organization}/{project}/calculator/async_batch_process
See running a long job in the background for the polling flow.
cURL
curl -X POST "http://agents.botify.com/{organization}/{project}/calculator/process" \
-H "Authorization: Bearer $BOTIFY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"item": {
"expression": "<expression>"
}
}'
Over MCP
This tool is exposed as the MCP tool calculator. An MCP client passes
organization, project and item as tool arguments.
Set up MCP →
Raw metadata
- GET /agents/calculator — this page as JSON.
- /agents/calculator/skill.md — Markdown for coding agents.