fastmcp.utilities.components
Classes
FastMCPMeta
FastMCPComponent
Base class for FastMCP tools, prompts, resources, and resource templates.
Methods:
key
get_meta
_fastmcp
key will be added to the
meta, containing a tags
field with the tags of the component.
model_copy
update
: A dictionary of fields to update.deep
: Whether to deep copy the component.key
: The key to use for the copy.