Skip to content
1 min read · 40 words

Variable: compareValuesTool

ts
const compareValuesTool: Tool<SpooledArtifact>;

Compare two values and return their relationship (equal, greater_than, less_than).

Remarks

Handles numbers, strings (lexicographic), booleans, ISO date strings, and null/undefined. Use type_hint to force a specific interpretation; the default auto infers from the values themselves.