AppliedAIPrep logoAppliedAI/Prep

function calling

Applied AI interview questions tagged function calling, across every topic.

7 questions · 1 unlocked for you

Concepts behind "function calling"

The curriculum that explains the ideas these questions test.

Foundational
🤖 Retrieval & Agents
Agents and Tool UseAn agent is an LLM in a loop that can take actions through tools: it reasons, calls a tool (search, a database, code, an API), observes the result, and repeats until done. Tool calling works because the model emits a structured request that your code executes, the model never runs anything itself. The power is doing real work; the cost is reliability and the safety surface (an agent that can act can act wrongly). Applied-AI interviews probe it because agents are where LLMs meet real systems.
Core
🧠 Foundations of LLMs & GenAISign in
Constrained and Structured DecodingAsking a model nicely for JSON sometimes fails; constrained decoding guarantees valid output by masking, at each generation step, every token that would violate a schema or grammar, so only valid continuations can be sampled. It is the reliable way to get JSON, enums, or function-call arguments, and it underpins tool calling. The caveat: it guarantees structural validity, not semantic correctness. Applied-AI interviews probe it because production systems depend on parseable output, and 'just prompt for JSON' breaks at scale.
Core
🤖 Retrieval & AgentsSign in
Function Calling and Tool SchemasFunction calling is the protocol behind tool use: you declare tools as JSON schemas, the model emits a structured call (name plus arguments) that your code validates and runs, and the result goes back into the conversation. The hard part is design, not plumbing: tool descriptions and result shapes decide whether the model picks the right tool with the right arguments, and forcing structured output can cost a measurable amount of accuracy. Applied-AI interviews probe it because schema design is where most agents quietly fail.
Core
🤖 Retrieval & AgentsSign in
Model Context Protocol (MCP)MCP is an open client-server standard that lets an agent connect to external tools, data, and prompts through a uniform interface, so one integration works across many hosts instead of writing bespoke glue per model. Servers expose tools, resources, and prompts with typed schemas; clients discover and call them at runtime. Applied AI interviews probe it because integration plumbing, not model quality, is usually what blocks an agent from shipping.