Get a Workday doc page
get_workday_docRetrieve the full markdown content of a Workday documentation page using its ID or URL. Returns markdown and canonical link, even if body fetch fails.
Instructions
Fetch the full markdown for one Workday documentation page.
Accepts EITHER a doc_id (from search_workday_docs) OR a developer.workday.com "/wcp_docs/.html" link. Always returns the canonical html_url so you can cite/link the page even if the body can't be fetched.
Args:
doc_id (string): a doc ID from search_workday_docs
html_url (string): alternatively, a developer.workday.com/wcp_docs/.html link
Returns: { doc_id, html_url, truncated, markdown, error? }
markdown: the page body (string), or null if the body fetch failed (see error)
truncated: true if the body exceeded 60000 chars and was cut
error: present only when the body could not be fetched (html_url is still valid to link)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | Doc ID from search_workday_docs | |
| html_url | No | A developer.workday.com/wcp_docs/<id>.html link |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| html_url | Yes | ||
| truncated | Yes | ||
| markdown | Yes | ||
| error | No |