Run a built-in tool
run_toolUse this when the user wants an answer from one of Xenition's built-in tools — a unit conversion (length, weight, volume, area, speed, data size, energy, pressure, and more), a loan payment, BMI, tip split, discount, sales tax, percentage, temperature or age. Returns the computed answer. For interactive tools (timers, QR codes, live weather) it returns what the tool needs and a link that opens it ready to use. Call find_tools first if you do not know the tool id. Do not use for general maths you can do yourself, or for anything that is not a built-in tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | the tool id from find_tools, e.g. 'loan', 'bmi', 'length-convert', 'temperature' | |
| inputs | No | the tool's inputs. Converters: {value, from, to} using the unit names find_tools/run_tool report (e.g. {value: 5, from: 'km', to: 'mi'}). Calculators: see each tool's inputs — e.g. loan {amount, annual_rate_pct, years}; bmi {weight_kg, height_cm}; tip {bill, percent, people}; age {birth_date: 'YYYY-MM-DD'} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| title | Yes | ||
| units | No | ||
| inputs | No | ||
| result | No | ||
| openUrl | No | ||
| computed | Yes |