LettaAPI.Model.Tool (letta_api v1.0.0)
Representation of a tool, which is a function that can be called by the agent. Parameters: id (str): The unique identifier of the tool. name (str): The name of the function. tags (List[str]): Metadata tags. source_code (str): The source code of the function. json_schema (Dict): The JSON schema of the function.
Summary
Types
@type t() :: %LettaAPI.Model.Tool{ args_json_schema: LettaAPI.Model.ArgsJsonSchema.t() | nil, created_by_id: LettaAPI.Model.CreatedById1.t() | nil, description: LettaAPI.Model.Description1.t() | nil, id: any() | nil, json_schema: LettaAPI.Model.JsonSchema.t() | nil, last_updated_by_id: LettaAPI.Model.LastUpdatedById1.t() | nil, metadata_: LettaAPI.Model.Metadata.t() | nil, name: LettaAPI.Model.Name.t() | nil, organization_id: LettaAPI.Model.OrganizationId1.t() | nil, return_char_limit: any() | nil, source_code: LettaAPI.Model.SourceCode.t() | nil, source_type: LettaAPI.Model.SourceType.t() | nil, tags: [any()] | nil, tool_type: LettaAPI.Model.ToolType.t() | nil }