Extract FastMCP metadata from a component’s meta dict.Handles both the current fastmcp namespace and the legacy _fastmcp
namespace for compatibility with older FastMCP servers.
The globally unique lookup key for this component.Format: ”:@” or ”:@”
e.g. “tool:my_tool@v2”, “tool:my_tool@”, “resource:file://x.txt@”The @ suffix is ALWAYS present to enable unambiguous parsing of keys
(URIs may contain @ characters, so we always include the delimiter).Subclasses should override this to use their specific identifier.
Base implementation uses name.
Register this component with docket for background execution.No-ops if task_config.mode is “forbidden”. Subclasses override to
register their callable (self.run, self.read, self.render, or self.fn).