max_doc
Search a local MAXScript reference for a term to retrieve matching pages and context snippets for usage and argument details.
Instructions
Search a local copy of the MAXScript Reference for a term.
Why local: Autodesk retired the 2016 documentation entirely (cloudhelp/2016
returns 404), so max_api-style reflection is the only ground truth for
2016 specifics. The 2025 reference is still published and is the closest
complete prose description of the language; it is crawled into
tools/docs/maxscript-2025 by tools/crawl_maxscript_docs.py.
Use this for "how do I use X" / "what are the arguments of Y". Use
max_api / max_check for "does THIS Max have it" -- prose can be stale
by a release, the running process cannot.
Args: query: term to look for, case-insensitive (e.g. "polyop", "getNodeByName"). limit: max matching pages. snippet_chars: characters of surrounding context per hit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| snippet_chars | No |