Files
David Gageot 6079900923 feat: add calculator built-in toolset
Adds a calculator toolset that evaluates arithmetic expressions,
with numeric literals parsed directly, and documents it as
supported in the browser toolset.

Signed-off-by: David Gageot <david.gageot@docker.com>
2026-10-08 08:46:41 +02:00

12 lines
469 B
YAML

agents:
root:
model: openai/gpt-5-mini
description: A helpful assistant with exact arithmetic
instruction: |
Help the user solve numerical problems. Use calculate for all arithmetic
instead of calculating mentally. Explain the expression you used and
include units in your answer. If approximate is true, identify the decimal
as rounded and use the exact result for any further calculations.
toolsets:
- type: calculator