is an option for FullDefinition, Manipulate and related symbols that gives contexts whose symbols will have their definitions recursively saved.


  • Functions such as FullDefinition, Manipulate, etc. that report or store the full set of definitions associated with a symbol recursively pull in the definitions of symbols that appear on the right-hand side of each definition. IncludedContexts limits the recursive collection of definitions by limiting collection to only particular contexts.
  • Common settings include:
  • Allinclude all contexts
    "Context`"include the specified context only
    "Context`*"include the specified context and all its subcontexts
    {spec1,spec2,}include any context matching one of the speci
  • ExcludedContexts takes precedence over IncludedContexts. »
  • A context can be specified using string patterns in the same way as in Contexts[].


open allclose all

Basic Examples  (1)

Only pull in supplementary definitions from the context "c1`":

With the default setting IncludedContextsAll, all contexts are considered for inclusion:

Scope  (3)

Include the contexts "c1`" and "c2`" only:

Include the contexts "c2`" as well as "c1`" and all its subcontexts:

By default, certain system contexts are excluded, even if they are in IncludedContexts:

Use ExcludedContexts to modify the exclusions list:

Properties & Relations  (1)

ExcludedContexts overrides IncludedContexts:

Compare with:

Wolfram Research (2021), IncludedContexts, Wolfram Language function,


Wolfram Research (2021), IncludedContexts, Wolfram Language function,


Wolfram Language. 2021. "IncludedContexts." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2021). IncludedContexts. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_includedcontexts, author="Wolfram Research", title="{IncludedContexts}", year="2021", howpublished="\url{}", note=[Accessed: 19-July-2024 ]}


@online{reference.wolfram_2024_includedcontexts, organization={Wolfram Research}, title={IncludedContexts}, year={2021}, url={}, note=[Accessed: 19-July-2024 ]}