Commit 46a6de6
authored
docs(custom_tool): document --tools file loading and /tools load command (gptme#1547)
* docs(custom_tool): document --tools file loading and /tools load command
PR gptme#1540 added support for loading custom tools from .py files via
--tools flag, but the docs still only covered TOOL_MODULES registration.
Added documentation for both the --tools CLI flag and /tools load runtime
command, reorganized the "Registering the Tool" section into clearer
subsections for file-based vs module-based loading.
* docs(custom_tool): fix --tools examples and remove incorrect /tools load usage
- Add '+' prefix examples (additive mode) as the recommended approach
- Explain that without '+', --tools replaces the entire default toolset
- Remove incorrect '/tools load ./my_tool.py' example — /tools load only
accepts tool names (e.g. 'browser'), not file paths
Fixes feedback from Greptile and Erik in PR review.
* docs(custom_tool): fix multi-file example — one '+' is enough for additive mode
---------
Co-authored-by: TimeToBuildBob <TimeToBuildBob@users.noreply.github.com>1 parent 16e5cd8 commit 46a6de6
1 file changed
Lines changed: 31 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
217 | 219 | | |
218 | | - | |
219 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
220 | 248 | | |
221 | 249 | | |
222 | 250 | | |
| |||
0 commit comments