workflow
be converted to a tool
?from llama_index.core.tools import FunctionTool async def some_workflow(param1: str, param2: int) -> str: """Useful for some thing.""" result = await workflow.run(param1=param1, param2=param2) return result tool= FunctionTool.from_defaults(async_fn=some_workflow)
async
workflows?