tool

package
v1.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package tool builds the TUI view for a tool call message.

A small lookup table (builders) maps each tool's name to a constructor. Lookup order is: exact tool name, then "category:<category>", then a defaulttool fallback.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(msg *types.Message, sessionState service.SessionStateReader) layout.Model

New returns the appropriate tool view for the given message. Lookup order: exact tool name, then "category:<category>", then default.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL