Skip to content

ToolArgumentCondition

← All HTTP schemas

One comparison against a tool call argument: path · operator · value.

Shape: object

Property Required Type Description Rules
path yes string Gets the dotted path into the argument object, for example order.amount. No array index is accepted.
operator yes ToolArgumentOperator Gets the comparison operator.
value yes JsonElement Gets the value compared against. For ToolArgumentOperator.In and ToolArgumentOperator.NotIn this is a JSON array of text or numbers; for every other operator it is a single text, number, or boolean.