add_verb_to_section
add_verb_to_section
Add a verb to a specific named section of the SWML document. If the section does not
exist, it is created automatically before the verb is appended. Raises
SchemaValidationError if validation is enabled and the verb config is invalid.
Parameters
section_name
Name of the section to add the verb to (e.g., "main", "transfer_flow").
verb_name
The SWML verb name.
config
Configuration dictionary for the verb, or a direct int for the sleep verb.
Returns
bool — True if the verb was added successfully, False if the config type was
invalid (non-dict for non-sleep verbs).