Files
letta-server/letta/serialize_schemas/tool.py
cthomas b09c519fa6 chore: bump version to 0.6.36 (#2469)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-03-04 16:21:54 -08:00

16 lines
392 B
Python

from letta.orm import Tool
from letta.schemas.tool import Tool as PydanticTool
from letta.serialize_schemas.base import BaseSchema
class SerializedToolSchema(BaseSchema):
"""
Marshmallow schema for serializing/deserializing Tool objects.
"""
__pydantic_model__ = PydanticTool
class Meta(BaseSchema.Meta):
model = Tool
exclude = BaseSchema.Meta.exclude