INNER CODE UNIT · Python
search_items
concierge-hq/concierge · __init__.py:256
def search_items(query: str):
return {"items": [...]}
"""
def decorator(fn: Callable) -> Callable:
tool_name = fn.__name__
if name not in self._stages:
self._stages[name] = []
if tool_name not in self._stages[name]:
self._stages[name].append(tool_name)
return fn
return decorator
def tool(self, **kwargs) -> Callable:
"""Register a tool. Delegates to underlying FastMCP.
Example: