# Inspect a tool
tool_datetime
if (FALSE) {
# Requires a running Ollama server and the "gemma4:e4b" model
agent <- create_agent(
llmconfig = config_Ollama(
model_name = "gemma4:e4b",
base_url = "http://localhost:11434"
),
system_prompt = "You are a meticulous research assistant.",
tools = list(tool_datetime, tool_semanticscholar, tool_wikipedia)
)
generate(agent, "Find recent papers on diffusion models.")
}
Run the code above in your browser using DataLab