Signal the model to batch
Tool description: 'Use this to look up MULTIPLE users at once. Prefer a single call with a list over many single calls.'
Advertisement
Schema accepts a list
Schema.object()
.property("user_ids", Schema.array(Schema.string()).minItems(1).maxItems(50));Advertisement
Enforce the max in code too
Model doesn't always respect maxItems. Slice safely.