class Tool(ABC):
name: str
description: str
parameters -> JSON Schema
run(arguments, ctx) -> str
read
write
edit
glob
grep
bash
The description goes into the model's context on every single call. It is prompt engineering wearing a docstring costume, and it is billed accordingly.