arango_validate_document
Validate a document against a stored or inline JSON Schema in an ArangoDB collection, ensuring data integrity before insertion or update.
Instructions
Validate a document against a stored or inline JSON Schema.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collection": "<collection>",
"document": "<document>"
},
"name": "arango_validate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | ||
| document | Yes | ||
| schema_name | No | Name of stored schema to use | |
| schema | No | Inline JSON Schema to validate against | |
| database | No | Database override |