Expand description
Built-in tool implementations and registry.
Re-exports§
pub use bash::BashTool;pub use debug_tool::DebugTool;pub use edit::EditTool;pub use eval_tool::EvalTool;pub use find::FindTool;pub use grep::GrepTool;pub use ls::LsTool;pub use read::ReadTool;pub use crate::mcp::McpTool;pub use ask::AskBridge;pub use ask::AskTool;pub use ast_edit::AstEditTool;pub use ast_grep::AstGrepTool;pub use commit::CommitTool;pub use context7::Context7QueryDocsTool;pub use context7::Context7ResolveLibraryIdTool;pub use memory_edit::MemoryEditTool;pub use memory_recall::MemoryRecallTool;pub use memory_reflect::MemoryReflectTool;pub use memory_retain::MemoryRetainTool;pub use subagent::SubagentTool;pub use write::WriteTool;
Modules§
- ask
- Ask tool — ask the user one or more clarifying questions via the TUI overlay. Ask tool — ask the user one or more questions via the TUI overlay.
- ast_
edit - AST-aware structural code rewriting tool (ast-grep backed).
AST-edit tool — structural code rewriting via the
sg(ast-grep) CLI. - ast_
grep - AST structural search tool (wraps the
sgCLI). - bash
- Bash shell execution tool.
- browse
- Browser tools (engine abstraction always compiled). Browser tools for web page rendering and data extraction.
- checkpoint_
tool - Checkpoint and Rewind tools — save/restore investigation state.
- commit
- Conventional-commit tool (deterministic scope + LLM analysis). Conventional-commit tool.
- computer_
tool - Computer tool — computer control using Vision AI.
- context7
- Context7 documentation tools. Context7 documentation tools.
- debug_
tool - Debug tool — DAP-backed debugger integration (scaffold). Debug tool — Debugger integration via DAP (Debug Adapter Protocol).
- edit
- In-place file edit tool.
- edit_
diff - Diff-based edit helpers.
- eval_
tool - Eval tool — persistent-kernel code execution (scaffold). Eval tool — execute code and capture output.
- file_
mutation_ queue - Serialised file-mutation queue.
- find
- File-fsystem find tool.
- generate_
image - Image generation tool (OpenRouter API). Image generation tool using OpenRouter API.
- github
- GitHub integration tool (gh CLI-based).
- github_
search - GitHub repository search tool (legacy REST API).
- goal_
tool - Goal tool — manage investigation goals with token budgets.
- grep
- Content search (grep) tool.
- hashline_
fs - TokioHashlineFs — tokio::fs-backed HashlineFs implementation.
Concrete
HashlineFsbacked bytokio::fs,PathGuard, and the globalfile_mutation_queue. - http_
client - Shared HTTP client singleton. Shared HTTP client singleton for oxicode-agent tools.
- hub_
tool - Hub tool — agent coordination for peer messaging and job management.
- inspect_
image_ tool - Inspect Image tool — analyze images using Vision LLM capabilities.
- learn_
tool - Learn tool — capture a reusable lesson to memory and optionally create a managed skill.
- ls
- Directory listing tool.
- lsp
- LSP tool (requires LspProvider capability). LSP tool — Language Server Protocol operations.
- manage_
skill_ tool - Manage Skill tool — create, update, or delete isolated managed SKILL.md files.
- memory_
edit - Memory edit tool — update or delete a memory item.
memory_edittool — update or delete a memory item. - memory_
recall - Memory recall tool — semantic search over stored memories.
memory_recalltool — search the memory backend for relevant items. - memory_
reflect - Memory reflect tool — persist a session summary to memory.
memory_reflecttool — persist a session summary to memory. - memory_
retain - Memory retain tool — persist a memory item to the backend.
memory_retaintool — persist a memory item to the backend. - path_
security - Path security (traversal protection). File path security validation.
- path_
utils - Path manipulation utilities.
- read
- File reading tool.
- render_
utils - Rendering utilities for tool output. Tool output rendering utilities Provides helpers for formatting tool results for display.
- review_
tool - Review tool — request code review with focus areas and priorities.
- search_
cache - Search result cache and get_search_results tool.
- subagent
- Sub-agent delegation tool.
- todo
- Phased todo tool (init/start/done/drop/rm/append/view). Todo tool — phased task management with 7 ops.
- tool_
definition_ wrapper - Tool definition wrapper helpers.
- truncate
- Output truncation helpers. Output truncation utilities for tool results Limits tool output by two independent limits (lines + bytes), whichever hits first. UTF-8 safe: truncates at valid character boundaries.
- tts_
tool - TTS tool — text-to-speech synthesis.
- vibe_
tool - Vibe tool — manage persistent worker sessions.
- web_
search - Multi-engine web search tool (oxibrowser search module).
- write
- File writing tool.
- yield_
tool - Yield tool — subagent result submission.
Structs§
- Agent
Info - Read-only agent info for Hub display.
- Agent
Tool Result - Result of tool execution
- Diagnostics
Summary - Aggregated diagnostics across one or more files (returned by
LspProvider::drain_diagnostics). Counts severity buckets so callers can surface a quick “0 errors / 3 warnings” summary without scanning every diagnostic. - File
Diagnostic Entry - Diagnostics for one file. Path is the LSP document URI as the server
reported it (may be
file://-prefixed);diagnosticsis the raw payload fromtextDocument/publishDiagnostics. - Fork
Result - Result of an in-process isolated sub-agent fork run.
- Memory
Item - A single memory item returned by
MemoryBackend. - Render
Output - Render output for TUI visualization.
- Resolved
Content - Content resolved from an internal protocol URL (e.g.
skill://,issue://). - Tool
Context - Context passed to tools at execution time.
- Tool
Registry - Tool registry for managing available tools
Enums§
- Agent
HubStatus - Hub display status.
- Agent
Kind - Agent kind for Hub display.
- LspAction
- LSP action enum — the operations the
lsptool supports. - Tool
Execution Mode - Tool execution mode for parallel safety.
- Tool
Tier - Core trait for all agent tools Risk tier for approval gating.
Traits§
- Agent
Pool Provider - Agent pool access capability. Implemented by the composition root to expose live sub-agent info to the Hub overlay and todo matching.
- Agent
Tool - Core trait for all agent tools
- LspProvider
- LSP access capability. Implemented by an
oxicode-lspcrate (feature-gated) or stubbed withNonewhen LSP is disabled. - Memory
Backend - Memory backend for the
memory_*tools. The composition root implements this, bridging tooxicode_sdk::ports::MemoryStore+EmbeddingProvider. - Subagent
Runner - In-process sub-agent runner — the library-native delegation backend.
- Todo
State Provider - Todo state access capability. Implemented by the composition root
(oxicode-cli) bridging to the session-scoped todo state. Used by the
todoagent tool and the TUI sticky panel. - UrlResolver
- URL resolver for internal protocol schemes. The composition root
implements this, bridging to
oxicode_sdk::ports::InternalUrlRouter.
Type Aliases§
- Progress
Callback - Callback type for progress updates
- Tool
Error - Result type for tool execution