Look up an Extend component / function reference
lookup_extend_referenceFind the best-matching Extend app reference page with inline content for building PMD widgets, model components, functions, or scripting. Ground your code in authoritative schema and signatures.
Instructions
Ground Extend app-building in the authoritative reference. Given what you're trying to build or use, this returns the BEST-matching reference page WITH its content inline (excerpt) — not just a pointer — plus alternative pointers. Use this before writing PMD/widget/scripting code so you ground on the real schema/signature instead of guessing.
Scoped to the "Extend App Components Reference" (PMD tags/widgets, model components, PMD functions, PMD scripting). For broader/conceptual docs use search_workday_docs. Best results require the full-text index (npm run build-index).
Args:
intent (string): what you want to build/use, e.g. "sortable grid with row actions", "function to format a date", "validate a field before submit"
kind ('any' | 'component' | 'function' | 'scripting'): narrow the scope (default 'any') component = PMD tags/widgets + model components; function = PMD functions; scripting = PMD scripting tags
alternatives (number): how many additional pointers to return, 0-10 (default 4)
Returns: { intent, kind, engine, best: { doc_id, title, breadcrumb, html_url, excerpt, truncated } | null, alternatives: [{ doc_id, title, breadcrumb, html_url, score }] } If best is null, nothing matched the scope — widen kind, rephrase, or use search_workday_docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | What you want to build/use, e.g. 'sortable grid with row actions' | |
| kind | No | Narrow scope: component | function | scripting | any | any |
| alternatives | No | Number of additional pointers to return (0-10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | ||
| kind | Yes | ||
| engine | Yes | ||
| best | Yes | ||
| alternatives | Yes |