Files
nanobot/nanobot/templates/TOOLS.md
T
chengyongruandXubin Ren f9cb0f22bd docs: remove glob tool references from templates and skills
Update identity.md, TOOLS.md, skills README, and skill-creator
SKILL.md to remove mentions of the removed glob tool. Grep's
glob parameter remains documented where relevant.
2026-05-15 17:19:00 +08:00

1.2 KiB

Tool Usage Notes

Tool signatures are provided automatically via function calling. This file documents non-obvious constraints and usage patterns.

exec — Safety Limits

  • Commands have a configurable timeout (default 60s)
  • Dangerous commands are blocked (rm -rf, format, dd, shutdown, etc.)
  • Output is truncated at 10,000 characters
  • restrictToWorkspace config can limit file access to the workspace
  • Use grep to search file contents inside the workspace
  • Default behavior returns only matching file paths (output_mode="files_with_matches")
  • Supports optional glob filtering (e.g. glob="*.py") plus context_before / context_after
  • Supports type="py", type="ts", type="md" and similar shorthand filters
  • Use fixed_strings=true for literal keywords containing regex characters
  • Use output_mode="files_with_matches" to get only matching file paths
  • Use output_mode="count" to size a search before reading full matches
  • Use head_limit and offset to page across results
  • Prefer this over exec for code and history searches
  • Binary or oversized files may be skipped to keep results readable

cron — Scheduled Reminders

  • Please refer to cron skill for usage.