llm_call_tool
llm_call_tool: Direct Tool Invocation
llm_call_tool: Direct Tool InvocationExplicitly instructs the language model to use specified tools with user input.
def llm_call_tool(
agent_name: str,
messages: List[Dict[str, Any]],
tools: List[Dict[str, Any]],
base_url: str = aios_kernel_url,
llms: List[Dict[str, Any]] = None
) -> LLMResponseParameters:
agent_name: Identifier for the agent making the requestmessages: List of message dictionariestools: List of available tools and their specificationsbase_url: API endpoint URLllms: Optional list of LLM configurations
Returns:
LLMResponseobject containing tool calls and their results
Example:
Last updated