Files
mars-nanobot/nanobot-config/workspace/TOOLS.md

31 lines
1.0 KiB
Markdown
Raw Normal View History

2026-03-27 16:10:45 +08:00
# 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
## cron — Scheduled Reminders
- Please refer to cron skill for usage.
## Web Search Tool Priority
When web search is required, follow this priority order:
1. **First Choice: `multi-search-engine-2-0-1` skill**
- Installed at: `skills/multi-search-engine-2-0-1/`
- 17 search engines (8 CN + 9 Global)
- No API key required
- Supports: advanced search operators, time filters, site search, privacy engines, WolframAlpha
2. **Second Choice: Web Search Prime MCP** (`mcp_web-search-prime_*`)
- Provided by Zhipu AI
- Requires API key (configured in config.json)
- Use only if multi-search-engine is not available