Uses of Record Class
com.tnsai.actions.model.ActionRequest
Packages that use ActionRequest
Package
Description
Typed models for action execution.
Agent classes and lifecycle management for the TnsAI framework.
Agent orchestration — chat, streaming, tool execution, and knowledge base management.
-
Uses of ActionRequest in com.tnsai.actions.model
Methods in com.tnsai.actions.model that return ActionRequestModifier and TypeMethodDescriptionstatic ActionRequestCreates an ActionRequest with no parameters.static ActionRequestCreates an ActionRequest with the given name and parameters. -
Uses of ActionRequest in com.tnsai.agents
Methods in com.tnsai.agents with parameters of type ActionRequestModifier and TypeMethodDescriptionfinal ActionResponseAgent.executeAction(ActionRequest request) Executes an action using a typed request.final ActionResponseAgent.executeAction(ActionRequest request, ChatRetrievalContext retrievalContext) Executes a typed action request with request-local retrieval context.final ActionResponseAgent.executeActionOnRole(String roleId, ActionRequest request) Executes a typed action on a specific role.final ActionResponseAgent.executeActionOnRole(String roleId, ActionRequest request, ChatRetrievalContext retrievalContext) Executes a typed role action with request-local retrieval context. -
Uses of ActionRequest in com.tnsai.agents.orchestration
Methods in com.tnsai.agents.orchestration with parameters of type ActionRequestModifier and TypeMethodDescriptionAgentOrchestrator.executeActionOnRoleTyped(String roleId, ActionRequest request) AgentOrchestrator.executeActionOnRoleTyped(String roleId, ActionRequest request, ChatRetrievalContext retrievalContext) AgentOrchestrator.executeActionTyped(ActionRequest request) AgentOrchestrator.executeActionTyped(ActionRequest request, ChatRetrievalContext retrievalContext) -
Uses of ActionRequest in com.tnsai.hooks.events
Methods in com.tnsai.hooks.events that return ActionRequestModifier and TypeMethodDescriptionOnActionError.request()Returns the value of therequestrecord component.PostAction.request()Returns the value of therequestrecord component.PreAction.request()Returns the value of therequestrecord component.Methods in com.tnsai.hooks.events with parameters of type ActionRequestModifier and TypeMethodDescriptionPreAction.withRequest(ActionRequest newRequest) Build a copy withnewRequestreplacingPreAction.request.Constructors in com.tnsai.hooks.events with parameters of type ActionRequestModifierConstructorDescriptionOnActionError(String eventId, Instant timestamp, HookContext context, ActionRequest request, Throwable cause, ActionType type, int attempt, boolean retryable) Creates an instance of aOnActionErrorrecord class.PostAction(String eventId, Instant timestamp, HookContext context, ActionRequest request, ActionResponse response, ActionType type, Duration elapsed) Creates an instance of aPostActionrecord class.PreAction(String eventId, Instant timestamp, HookContext context, ActionRequest request, ActionType type) Creates an instance of aPreActionrecord class.