next
Round
Technologies
Saved
Summary
Login
next
Round
Technologies
Saved
Summary
Login
Question Loading...
Tools
1. What is a Tool in LangChain and how does it differ from a plain function or API call?
Level: Expert | Frequency: High
2. What is the difference between the tool() helper, DynamicTool, and StructuredTool class?
Level: Expert | Frequency: High
3. How does an LLM decide which tool to call — what role does the tool description play?
Level: Expert | Frequency: High
4. What is the role of Zod schema in tool definitions and how does it map to OpenAI's function calling spec?
Level: Expert | Frequency: High
5. What is a ToolNode in LangGraph and how does it differ from calling a tool manually inside a graph node?
Level: Expert | Frequency: High
6. How do you wrap a REST API call with auth headers inside a Tool in TypeScript?
Level: Expert | Frequency: High
7. How do you handle async errors and retries inside a Tool without crashing the agent loop?
Level: Expert | Frequency: High
8. How do you pass runtime context (userId, authToken, DB connection) into a Tool using RunnableConfig?
Level: Expert | Frequency: High
9. How do you build a Toolkit (grouped set of related tools) using BaseToolkit?
Level: Expert | Frequency: High
10. How do you validate and sanitize tool output before it is passed back to the LLM?
Level: Expert | Frequency: High
11. How do you stream tool call results back to the client in real time?
Level: Expert | Frequency: High
12. How do you implement tool-level authorization — allowing certain tools only for certain users?
Level: Expert | Frequency: High
13. How do you build stateful tools that read/write to a database across multiple agent turns?
Level: Expert | Frequency: High
14. How do you prevent tool abuse or infinite loops where an agent keeps calling the same tool repeatedly?
Level: Expert | Frequency: High
15. How do you implement parallel tool calling — when the LLM decides to call multiple tools simultaneously?
Level: Expert | Frequency: High
16. How do you create a human-in-the-loop tool that pauses the agent and waits for user approval before executing?
Level: Expert | Frequency: High
17. How do you unit test and mock tools in isolation without invoking the LLM?
Level: Expert | Frequency: High
18. How do you implement tool call caching to avoid redundant API calls for identical inputs?
Level: Expert | Frequency: High
19. How do you design a multi-agent system where one agent's tool is actually another agent (agent-as-tool pattern)?
Level: Expert | Frequency: High
20. How does LangGraph's ToolNode handle tool call errors and surface them back into the message state?
Level: Expert | Frequency: High
21. What is the difference between tool_choice: "auto", "required", and "none" when binding tools to an LLM?
Level: Expert | Frequency: High
22. How do you implement dynamic tool loading — where the set of available tools changes based on user role or session state?
Level: Expert | Frequency: High
23. How do you trace and observe tool call latency in production using LangSmith?
Level: Expert | Frequency: High
24. What are the token cost implications of registering too many tools and how do you mitigate it?
Level: Expert | Frequency: High
All Topics
Basics
Agents
Models
Messages
Tools
Middleware
Memory
MCP
Multi Agents
RAG
Context Engineering
Human in the loop