validateToolSpec
validateToolSpec(
candidate):ToolValidationResult<ToolSpec>
Validates a wire ToolSpec: shapes, limits, unique ids, and defaults that
fit their fields (a choice default must be one of its options). Unknown keys are
ignored, so a newer spec still loads in an older host.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
candidate |
unknown |