Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/skills / frontmatter / parseToolsField
Function: parseToolsField()
ts
function parseToolsField(value):
| readonly SkillToolDeclaration[]
| null;Defined in: packages/skills/src/frontmatter/index.ts:516
Parse the tools field. Accepts either an array of strings (tool names — the loader resolves modules through naming convention) or an array of objects with name, module, description, tags. Returns null for unsupported shapes.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
Returns
| readonly SkillToolDeclaration[] | null