Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Scaffolds, builds, ships, and edits Vellum plugins that bundle hooks, tools, and skills into one installable package.
23% 95%+73 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 5 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Add new actions the model can call. A plugin tool lands in the same catalog as the Assistant's built-in tools, so the model picks it up with no extra wiring.
A tool is a default-exported object from tools/<name>.ts. The loader derives the model-visible tool name from the file basename, so tools/example.ts becomes the example tool. Plugin tools register in the same catalog as built-in tools and are offered to the model through the standard tool-calling interface.
Always-on cost — prefer skill-scoped tools. A tools/<name>.ts tool is offered to the model on every turn of every conversation, whether or not the plugin is relevant, so each one adds permanent prompt weight for every user of the plugin. When a tool only matters while one of the plugin's skills is active, declare it in that skill's TOOLS.json instead — it registers only while the skill is loaded and costs nothing the rest of the time. See "Skill-scoped tools" in skills.md. Reserve tools/ for actions the model must be able to reach without any skill in play.
A tool is something the model chooses to call. You describe what it does and what arguments it takes, and the model decides when to invoke it. When it does, the Assistant runs your execute function and feeds the result back into the turn.
Every field on a tool definition is optional. The loader fills documented defaults for anything you omit, so export default {} is a valid (if useless) tool. A broken or misconfigured tool never blocks the rest of the plugin from loading; the problem surfaces at call time instead.
These are the fields a tool definition can set. Names and types come from ToolDefinition in @vellumai/plugin-api.
| Field | Type | Default | Description |
|---|---|---|---|
name | string | File basename | Name the model sees when calling the tool. Loaders default to the source file basename, so tools/example.ts becomes example. Only set this to override the file-derived name. |
description | string | "" | Human-readable description shown to the model in the tool catalog. This is how the model decides when to call the tool, so write it for the model. |
input_schema | object (JSON Schema) | Empty object schema | JSON Schema describing the tool's input arguments. The model is constrained to this shape when it calls the tool. |
defaultRiskLevel | "low" | "medium" | "high" | "medium" | Author-asserted risk band that drives default permission gating. The medium default prompts the user, then allows on first invocation. |
category | string | None | Tool category used for channel-scoped allowedToolCategories enforcement. |
executionTarget | "sandbox" | "host" | Resolved automatically | Where the tool runs: the sandbox (assistant container) or the host (guardian device, via proxy). When omitted, resolved by name prefix: host_* and computer_use_* default to host, everything else defaults to sandbox. |
execute | (input, ctx) => Promise<ToolExecutionResult> | Unimplemented error | Implementation invoked when the model calls the tool. When omitted, the loader synthesizes a result that reports the tool as unimplemented. |
Execution target naming. When executionTarget is omitted, the runtime resolves it by tool name: names starting with host_ or computer_use_ run on the host; everything else runs in the sandbox. This means host_my_thing executes on the guardian's device, while my_host_thing executes in the assistant container. To run on the host without a host_ prefix, set executionTarget: "host" explicitly.
execute(input, ctx) receives the model-supplied input (validated against your input_schema) and a ToolContext, and returns a ToolExecutionResult. The complete ToolContext is listed below. Most tools only reach for the first few fields; the rest carry routing, permission, and trust metadata the host threads through, and the surface is still being narrowed while plugins are in beta.
| Field | Type | Description |
|---|---|---|
conversationId | string | Conversation this tool invocation belongs to. |
workingDir | string | Working directory the assistant was launched from. |
requestId | string? | Per-turn request id for cross-component log correlation. |
signal | AbortSignal? | Cooperative cancellation. Check signal.aborted periodically, or forward it to fetch and child-process options. |
Next to this one in the catalogue, plus more from the same author.