Skip to main content

Module cli_bridge

Module cli_bridge 

Source
Expand description

CLI Tool Bridge for External Tool Integration

Bridges external CLI tools to VT Code’s skill system, enabling integration of any command-line tool with proper documentation into the agent harness.

§Features

  • Progressive Disclosure: Load tool documentation only when needed
  • JSON I/O: Structured input/output via JSON when available
  • Fallback Support: Graceful degradation to text output
  • Validation: Schema-based validation for tool arguments
  • Streaming: Support for long-running operations

§Tool Discovery

Tools are discovered by scanning for:

  • Executable files with accompanying README.md
  • tool.json metadata files
  • Standard installation paths (/usr/local/bin, ~/.local/bin, etc.)

Structs§

CliToolBridge
Bridge between CLI tools and VT Code skills
CliToolConfig
Configuration for a CLI tool skill
CliToolResult
Tool execution result

Functions§

discover_cli_tools
Discover CLI tools in standard locations