SemanticGate constants
The SDK checks semantic gates against the platform’s limits when a tool is defined and throws for anything the platform would refuse. These exports hold those limits.
Properties
MAX_GATES
8. The most gates one function can carry.
MAX_QUESTION_BYTES
8192. The longest gate question, in UTF-8 bytes.
MAX_CRITERIA_BYTES
2048. The longest criteria.true or criteria.false (trueMeans or falseMeans), in
UTF-8 bytes.
MAX_ON_FAIL_BYTES
8192. The largest on_fail output, measured as compact JSON in UTF-8 bytes.
MAX_VISUAL_INPUT
5. The most caller video frames a gate may ask for with visualInput.
RESERVED_FUNCTION_NAMES
Hook and built-in function names that can’t carry gates: startup_hook,
hangup_hook, check_for_input, end_call, hangup, check_time,
wait_for_user, wait_seconds, adjust_response_latency, next_step,
change_context, gather_submit, get_visual_input, get_ideal_strategy, and
pause_conversation.