LemonGateway. Tools. DiscordSendFile
(lemon_gateway v0.1.0)
View Source
LemonAgent tool definition for sending files to Discord.
Resolves the file path relative to the project or workspace root, validates the file size, and queues it for delivery to the active Discord channel or thread as an attachment with an optional caption.
Summary
Functions
@spec execute( String.t(), map(), reference() | nil, (LemonAgent.Types.AgentToolResult.t() -> :ok) | nil, String.t() | nil, String.t() | nil, String.t() | nil ) :: LemonAgent.Types.AgentToolResult.t()
@spec tool( String.t(), keyword() ) :: LemonAgent.Types.AgentTool.t()