tools

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: MIT Imports: 5 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

Package tools registers the MCP tool surface that Claude uses to perceive and act on a running Factorio game. Each tool maps a typed input directly to a named companion-mod function and decodes the typed result.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(s *mcp.Server, d factorio.Dispatcher, opts Options)

Register adds every Factorio tool to the server.

Types

type Options

type Options struct {
	// AllowEval registers the raw Lua eval escape hatch (a cheat/debug tool).
	AllowEval bool
}

Options controls which tools are registered.

Jump to

Keyboard shortcuts

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