rulvar API reference / @rulvar/rulvar / resolveToolset
Function: resolveToolset()
ts
function resolveToolset(specs, session): Promise<ResolvedToolset>;Defined in: packages/core/dist/index.d.ts
Expands sources, validates every tool name and duplicate names across the whole toolset (ConfigError at spawn time), and computes the toolsetHash over contracts sorted by name.
Parameters
| Parameter | Type |
|---|---|
specs | | ToolsOption | undefined |
session | ToolSourceSession |
Returns
Promise<ResolvedToolset>