tools

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Tools the code of extensions registers, each offered to the sessions of its own profile, the extensions of a session's profile started before its tools are listed

Index

Constants

View Source
const View = "extension"

View the app shows the calls of every tool of the extensions with, from the content of their results

Variables

This section is empty.

Functions

func Definition

func Definition(spec *protocolv1.Tool, key string) tools.Def

The tool an extension registered as the model reads it and the app shows it, named as its spec names it, else by its key: its schema, its title and what it does, whether it only reads, whether what it returns comes from outside, whether it runs code the model writes and its time limit; no handler, check or toolset, which the kind it came with sets

func Register

func Register(registry *tools.Registry, kinds *extensions.Registry)

Types

This section is empty.

Jump to

Keyboard shortcuts

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