toolSpecFromDefinition
toolSpecFromDefinition(
name,definition):ToolSpec
The canonical wire spec for a tool named name: every default spelled out
(summary, category, role, live, file types…), exactly as the app
re-encodes it. This is what blipkit build writes to dist/tools.json and what the
runtime reports. It isn’t validated here: call validateToolSpec on it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |
definition |
Tool |