xlsx_session_set_validations
Set per-session data validation rules to enforce schema constraints across sequential write/clean operations, ensuring consistent server-side validation without repeating rules on each call.
Instructions
configure per-session data-validation rules the server will apply to subsequent calls in the same session (e.g., reject rows missing required columns, enforce enum values on a category column, range-bound numeric inputs). Stateful — affects this session only.
USE WHEN: the workflow has multiple write/clean steps in sequence and you want consistent server-side validation across them without restating the rules on every call. Or when validating user-supplied data against a known schema you want enforced for the rest of the session.
DO NOT USE WHEN: you only have a single call to make (just include the validation logic in that call). Or when you do not have a session_id (sessions are returned from the session-create surface; this tool is a no-op without one).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| validations | Yes |