Skip to content

Commit d7de470

Browse files
docs: improve formatting consistency in tools documentation (#1856)
Co-authored-by: Kazuhiro Sera <[email protected]>
1 parent f3cac17 commit d7de470

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/tools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,13 @@ asyncio.run(main())
369369
```
370370

371371
The `is_enabled` parameter accepts:
372+
372373
- **Boolean values**: `True` (always enabled) or `False` (always disabled)
373374
- **Callable functions**: Functions that take `(context, agent)` and return a boolean
374375
- **Async functions**: Async functions for complex conditional logic
375376

376377
Disabled tools are completely hidden from the LLM at runtime, making this useful for:
378+
377379
- Feature gating based on user permissions
378380
- Environment-specific tool availability (dev vs prod)
379381
- A/B testing different tool configurations

0 commit comments

Comments
 (0)