Agent Tools
The nao agent uses built-in tools autonomously to answer user requests.execute_sql
execute_sql
Execute SQL against connected databases and return structured results.
- Supports multiple database connections.
- Returns typed columns and row counts.
- Outputs can be reused by other tools.
display_chart
display_chart
Create charts from SQL results.Supported chart types:
- Bar charts
- Stacked bar charts
- Line charts
- Pie charts
- KPI cards
execute_sandboxed_code
execute_sandboxed_code
Execute code in an isolated sandbox (micro-VM) for advanced analysis.
- Supports Python and shell execution.
- Can install Python packages for a run.
- Can reuse prior SQL outputs as CSV inputs.
- Requires enabling Sandboxes in Admin -> Agent -> Experimental.
search
search
Search files with glob patterns in your context.
list
list
List files and directories so the agent can navigate project structure.
read
read
Read context files such as SQL models, docs, and rule files.
grep
grep
Search text patterns across context files with regex.
web_search / web_fetch
web_search / web_fetch
Search the public web with your model provider tools and fetch cited pages when needed.
- Uses provider-native capabilities (OpenAI, Anthropic, Google) when enabled.
- Lets the agent answer questions that need fresh external information.
- Sources are shown in tool call output for traceability.
MCPs
MCP (Model Context Protocol) servers expose external tools that the agent can call next to built-in tools. Configure MCP servers inagent/mcps/mcp.json:
Skills
Skills are reusable workflows defined as markdown files inagent/skills/.
A file is recognized as a skill only if:
- It is stored in
agent/skills/. - It starts with YAML frontmatter including
nameanddescription.
/ shortcuts or natural prompts that match skill descriptions.