collectToolSpecs
collectToolSpecs(
tools):object
Every tool an extension declares, as validated canonical specs, plus the errors for
any that aren’t valid (prefixed with the tool’s name). Also catches what only the
definition knows: a tool with dropActions but no drop(), or no run() at all.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
tools |
unknown |
Returns
Section titled “Returns”object
errors
Section titled “errors”errors:
string[]
specs:
ToolSpec[]