narrow-pager-84057
11/29/2025, 9:59 PMtall-airline-16756
11/29/2025, 9:59 PMtall-airline-16756
11/29/2025, 9:59 PM@function_tool()
async def lookup_weather(self, context: RunContext, location: str) -> dict[str, Any]:
# perform the background action
await self._fetch_weather(location)
# return None to complete silently without LLM output
return None
If you'd like, tell me which runtime or SDK you're using (Python, TypeScript, or other) and I can provide a snippet for that environment.
Sources: Tool definition and use | LiveKit docs