package ein:plugin; // SPDX-License-Identifier: Apache-2.0 // Copyright 2026 Mason Stallmo world plugin { import ein:host/host; import process; export tool: interface { resource tool { constructor(); name: func() -> string; schema: func() -> string; call: func(id: string, args: string) -> result; primary-arg: func() -> option; // What calling the tool does: "read-only", "mutating", or // "unknown" when it depends on the arguments. effect: func() -> string; } } }