client.agent_validation.
Upsert from Pydantic models
Pass Pydantic classes (not instances). The client uses each class__name__ as the validator name and model_json_schema() as the JSON Schema.
JSON Schema validators for agent node outputs
client.agent_validation.
__name__ as the validator name and model_json_schema() as the JSON Schema.