How to Define a Function, Let the Model Call It, and Return the Result
Define a weather function with a schema, read the model tool call, run the function, and send the result back.
WORKFLOW TAG
Set up agents, tools, and repeatable agent workflows.
Define a weather function with a schema, read the model tool call, run the function, and send the result back.
Compare what each mode guarantees, then pick Structured Outputs when the shape matters and JSON mode when it does not.
Define a JSON Schema response format with strict mode so model output matches the shape your code expects.
Use claude mcp add to connect a server to Claude Code, list it, and check which scope it was saved in.
Send a tools array with an LM Studio chat completion so the model can request a function call instead of plain text.
Chat with a LocalAI model from the terminal with local-ai chat, and use the terminal agent for quick questions without opening the…
Open Cowork in Jan's nightly build, describe a multi-step task, and review the files, diffs, and progress it produces before keeping the…
Create an agent flow in AnythingLLM that scrapes HackerNews and filters the posts by topic, then call it from an agent chat…
Install a tool-capable model in LocalAI, create a saved agent with a name and instructions, and chat with it.
Pick a workspace agent model, choose which skills the agent may use, and start an agent chat with @agent so the model…