Expand description
System Tools for Gestura
This module provides output-agnostic system tools that can be used by both the CLI and GUI interfaces. All tools return structured data rather than formatted strings, allowing each interface to present results appropriately.
§Tools
Re-exports§
pub use registry::render_capabilities;
Modules§
- code
- Code analysis and navigation tool
- code_
async - Async code operations for pipeline integration
- file
- File operations tool
- file_
async - Async file operations for pipeline integration
- git
- Git repository operations tool
- git_
async - Async git operations for pipeline integration
- mcp_
manager - MCP Manager — Search, evaluate, install, and manage MCP servers
- permissions
- Permission management for tool access
- policy
- Tool policy helpers.
- registry
- Tool Registry
- schemas
- Provider-specific tool schemas (OpenAI / Anthropic / Gemini)
- screen
- Screen capture and recording tool
- screen_
async - Async screen capture operations for pipeline integration
- shell
- Shell command execution tool
- shell_
async - Async shell operations for pipeline integration
- shell_
sessions - PTY-backed reusable interactive shell sessions. PTY-backed shell sessions for reusable agent execution and interactive terminals.
- shell_
streaming - Streaming shell execution for real-time output to the frontend.
- web
- Web fetching and search tool
Structs§
- Code
Tools - Code analysis service
- File
Tools - File operations service
- GitTools
- Git operations service
- Permission
Manager - Permission management service
- Screen
Tools - Shell
Tools - Shell command service
- Tool
Definition - A single tool definition.
- WebTools
- Web operations service (legacy interface) Prefer using WebSearchService for new code
Functions§
- all_
tools - Return the set of built-in tools.
- find_
tool - Find a tool definition by name (case-insensitive).
- looks_
like_ capabilities_ question - Heuristic: decide whether a user message is asking for full capabilities/config.
- looks_
like_ tools_ question - Heuristic: decide whether a user message is asking for a tool inventory.
- render_
tool_ detail - Render a detailed tool description.
- render_
tools_ overview - Render a compact table of built-in tools (static, no config needed).