walkerOS Source Browser

v4.5.0
io.walkeros/source-browser Checked 2 hours ago Published 2 months ago

Generate, parse, and validate walkerOS data-elb HTML tagging attributes

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_tagging Generate Tagging

Generate walkerOS data-elb HTML attributes from structured input. Returns attribute key-value pairs and an example HTML snippet.

ParameterTypeDescription
actionobjectTrigger:action pairs for data-elbaction (nearest entity only)
actionsobjectTrigger:action pairs for data-elbactions (all entities)
contextobjectContext properties for data-elbcontext
dataobjectEntity properties as key:value pairs
entitystringEntity name (creates data-elb="entity" and scopes data-elb-entity properties)
globalsobjectGlobal properties for data-elbglobals
linkobjectLink relationships for data-elblink (id:type, e.g. {"details":"parent"})
prefixstringCustom prefix (default: data-elb)
scopedobjectPath-scoped generic properties for data-elb_ (only triggers nested below this element receive them)

parse_tagging Parse Tagging

Parse HTML with data-elb attributes using real DOM parsing (JSDOM). Extracts all walkerOS events and globals. Use validate_tagging for issue detection.

ParameterTypeDescription
html *stringHTML snippet with data-elb attributes
prefixstringCustom prefix (default: data-elb)

validate_tagging Validate Tagging

Validate HTML data-elb tagging for common mistakes. Checks for orphan actions, missing entities, unknown triggers, and more.

ParameterTypeDescription
html *stringHTML snippet to validate
prefixstringCustom prefix (default: data-elb)