Skip to contents

Defines a tool that lists all available font families on the system for a chatbot. This is intended to be used with an ellmer::Chat object.

Usage

tool_list_fonts()

Value

An S7 ToolDef object.

Examples

if (FALSE) { # \dontrun{
chat <- ellmer::chat_openai()

chat$register_tool(tool_list_fonts)

chat$chat('What font families are on this system')

} # }