ExVoix.Html.Components (ex_voix v0.3.9)
Provides VOIX framework components for tool and context element.
Summary
Functions
Renders a context element.
Examples
<.context name={@name} content={@content} />Attributes
name(:string) (required) - the name of context.content(:string) (required) - the content of context.
Renders a tool element.
Examples
<.tool mcp={@mcp} name={@name} />Attributes
mcp(:atom) (required) - the module of mcp server.name(:any) (required) - the name of tool.item_id(:any) - the id related to item tool.item_label(:string) - the label related to item tool.
Renders a UI resource from mcp-ui.
Examples
<.ui_resource_renderer id="my-script" />Attributes
id(:string) (required) - the id of the element.resource(:string) (required) - mcp-ui resource.