pylabrobot.resources.head_tool.HeadTool.serialize# HeadTool.serialize() → dict# Serialize the tool’s resource fields, fitting depth, and pickup location. Return type: dict