Uses of Record Class
dev.dokimos.core.agents.ToolCall
Packages that use ToolCall
Package
Description
-
Uses of ToolCall in dev.dokimos.core.agents
Methods in dev.dokimos.core.agents that return ToolCallModifier and TypeMethodDescriptionToolCall.Builder.build()Builds the tool call.static ToolCallCreates a tool call from a map, typically when deserializing from a JSON dataset.static ToolCallCreates a tool call with just a name and arguments.Methods in dev.dokimos.core.agents that return types with arguments of type ToolCallModifier and TypeMethodDescriptionCoerces a value into a typedList<ToolCall>.AgentTrace.toolCalls()Returns the value of thetoolCallsrecord component.Methods in dev.dokimos.core.agents with parameters of type ToolCallModifier and TypeMethodDescriptionAgentTrace.Builder.addToolCall(ToolCall toolCall) Adds a tool call to the trace.Method parameters in dev.dokimos.core.agents with type arguments of type ToolCallModifier and TypeMethodDescriptionSets all tool calls.Constructor parameters in dev.dokimos.core.agents with type arguments of type ToolCall -
Uses of ToolCall in dev.dokimos.core.conversation
Methods in dev.dokimos.core.conversation that return types with arguments of type ToolCallModifier and TypeMethodDescriptionConversationTrajectory.toolCalls()Flattens every assistant turn's tool calls into one list, in chronological order.Message.toolCalls()Returns the value of thetoolCallsrecord component.ConversationTrajectory.toolCallsByTurn()Groups tool calls per assistant turn, in order: one inner list per assistant message (each possibly empty).Method parameters in dev.dokimos.core.conversation with type arguments of type ToolCallModifier and TypeMethodDescriptionstatic MessageCreates an assistant message carrying the tool calls it made on this turn.ConversationTrajectory.Builder.assistantMessage(String content, List<ToolCall> toolCalls) Adds an assistant message carrying the tool calls it made.Constructor parameters in dev.dokimos.core.conversation with type arguments of type ToolCall -
Uses of ToolCall in dev.dokimos.core.evaluators.agents
Method parameters in dev.dokimos.core.evaluators.agents with type arguments of type ToolCallModifier and TypeMethodDescriptionAgentEvalCase.Builder.expectedToolCalls(List<ToolCall> expectedToolCalls) Sets the expected tool calls (the"toolCalls"key in expected outputs).Sets the actual tool calls the agent made (the"toolCalls"key in actual outputs). -
Uses of ToolCall in dev.dokimos.embabel
Methods in dev.dokimos.embabel that return types with arguments of type ToolCall -
Uses of ToolCall in dev.dokimos.langchain4j
Methods in dev.dokimos.langchain4j that return ToolCallModifier and TypeMethodDescriptionstatic ToolCallLangChain4jSupport.toToolCall(dev.langchain4j.service.tool.ToolExecution execution) Converts a single LangChain4jToolExecutionto aToolCall.Methods in dev.dokimos.langchain4j that return types with arguments of type ToolCallModifier and TypeMethodDescriptionLangChain4jSupport.toToolCalls(dev.langchain4j.service.Result<?> result) ExtractsToolCalls from a LangChain4jResultin execution order. -
Uses of ToolCall in dev.dokimos.openai
Methods in dev.dokimos.openai that return ToolCallModifier and TypeMethodDescriptionstatic ToolCallOpenAiSupport.toToolCall(com.openai.models.chat.completions.ChatCompletionMessageToolCall toolCall, String result) Converts a single OpenAI functionChatCompletionMessageToolCallto aToolCall.Methods in dev.dokimos.openai that return types with arguments of type ToolCallModifier and TypeMethodDescriptionOpenAiSupport.toToolCalls(com.openai.models.chat.completions.ChatCompletionMessage message) Extracts functionToolCalls from an OpenAIChatCompletionMessagein order.OpenAiSupport.toToolCalls(com.openai.models.chat.completions.ChatCompletionMessage message, Function<String, String> resultLookup) Extracts functionToolCalls from an OpenAIChatCompletionMessage, looking up each tool call's result by its id. -
Uses of ToolCall in dev.dokimos.springai
Methods in dev.dokimos.springai that return types with arguments of type ToolCallModifier and TypeMethodDescriptionSpringAiSupport.toToolCalls(org.springframework.ai.chat.messages.AssistantMessage message) ExtractsToolCalls from a Spring AIAssistantMessagewithout results.SpringAiSupport.toToolCalls(org.springframework.ai.chat.messages.AssistantMessage message, List<org.springframework.ai.chat.messages.ToolResponseMessage> toolResponses) ExtractsToolCalls from a Spring AIAssistantMessage, attaching results from the supplied tool responses by tool-call id. -
Uses of ToolCall in dev.dokimos.springai.alibaba
Methods in dev.dokimos.springai.alibaba that return types with arguments of type ToolCallModifier and TypeMethodDescriptionSpringAiAlibabaSupport.toToolCalls(com.alibaba.cloud.ai.graph.OverAllState state) Extracts every tool call across all turns of a graph run, correlating each call to its result with per-turn windowing.