builtin

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package builtin holds the tools tomo ships with: run a command, read and write files, fetch a URL as Markdown, tell the time. Each declares the strongest capability class it uses so the policy gate can reason about it without knowing the tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(exec sandbox.Sandbox, workspace string) []tool.Tool

All returns the full builtin set, rooted at workspace: the file tools take a relative path as relative to it, and the shell tool runs there through the given sandbox. A nil sandbox means unconfined, the same as passing the none mode, so callers that do not care about confinement can pass nil. An empty workspace anchors relative paths to the process working directory, which is the behavior a plain install has always had.

Types

This section is empty.

Jump to

Keyboard shortcuts

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