webdev_html_entity_reference
Look up HTML character entities by name, glyph, or code. Search and filter a table of named entities with details like decimal and hex codes, description, and category.
Instructions
HTML Entity Reference Lookup. Search and filter a built-in table of named HTML character entities, returning each match as its entity name, decimal code, hex code, rendered glyph, plain-English description, and category (punctuation, math, currency, arrows, accents, greek, misc). Use this to look up the entity for a symbol or vice versa; use encoding_decoding_html_entities to actually encode or decode text into entities, text_ascii_table for plain ASCII codes, or webdev_http_status_reference for HTTP status codes. Runs locally on the static table: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests per minute for anonymous callers). Returns the paginated matching entities plus a fixed list of the most common entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Case-insensitive substring matched against each entity name, glyph, description, decimal code, and hex code. Blank returns all entities (subject to the category filter). | |
| category | No | Restrict results to one category. Blank returns every category. | |
| page | No | Page number for pagination over the filtered results (clamped to a minimum of 1). | |
| itemsPerPage | No | Number of entities returned per page (clamped to a minimum of 1). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the lookup succeeded. | |
| query | No | The trimmed search query that was applied. | |
| category | No | The trimmed category filter that was applied (empty when unfiltered). | |
| page | No | The page number returned. | |
| itemsPerPage | No | The page size that was applied. | |
| total | No | Total number of entities matching the query and category before pagination. | |
| totalPages | No | Total page count for the current filter and page size. | |
| entities | No | The matching entities for the requested page. | |
| commonEntities | No | Fixed quick-reference list of the eight most common entities (lt, gt, amp, quot, nbsp, copy, reg, trade), independent of the query. |