Hardware, infrastructure & tooling

Functions

Definition

Named, reusable pieces of code that perform specific actions; an AI agent can request a function by supplying the inputs it needs.

AI Word Bank · Illustrated definition

Visual example

Functions: a specialized kitchen station takes inputs and performs a particular action.

Special station = function

A kitchen example of functions: a specialized kitchen station that takes an order ticket and returns one finished step.

The kitchen connection

Think of a specialized kitchen station that takes an order ticket and returns one finished step.

The illustration connects the AI idea to something familiar. Follow the subject, the action, and the result to see how it works.

01 · Who or what
Special station = function
02 · What happens
Takes inputs and performs action
03 · The result
Returns one useful result

Why it matters

They give agents precise actions, like calculating a price or checking inventory. The model requests the call; application code runs it and should check inputs and permissions.