Skip to main content

Documentation

Read internal Herd documentation by document ID. Supports fetching multiple documents in a single call.

Returns

  • Document content — Full text of the requested documentation
  • Available IDs — If an unknown ID is provided, returns the list of available document IDs

Example Queries

Parameters

Available Documents

Tips

Fetch all three HAL docs at once by passing an array: ["hal://spec/syntax", "hal://spec/modules/herd", "hal://spec/examples"]
Always read the HAL documentation before creating or editing HAL expressions — the syntax has non-obvious requirements.

Next Steps

HAL Reference

Full HAL language documentation

Evaluation

Simulate HAL expressions