Uses of Annotation Interface
uno.anahata.asi.agi.tool.Internal
Packages that use Internal
Package
Description
Provides the core framework for defining, managing, and executing local Java tools.
Swing-specific toolkit implementations and context abstractions for Anahata ASI.
-
Uses of Internal in uno.anahata.asi.agi.tool
Methods in uno.anahata.asi.agi.tool with annotations of type InternalModifier and TypeMethodDescriptionvoidToolContext.addAttachment(byte[] data, String mimeType) Attaches a binary blob to the current tool's response.voidToolContext.addAttachment(File file) Convenience method to attach a file to the current tool's response.voidToolContext.addAttachment(Path path) Convenience method to attach a file from a Path to the current tool's response.voidAdds an error message to the current tool's response.voidAdds an error message and exception stack trace to the current tool's response.voidAdds an exceptions stack trace to the current tool's response.ToolContext.getAgi()Convenience method to get the parent agi container for the current execution.ToolContext.getApplicationMap()Gets a static, application-scoped map for sharing objects across all containers in the current JVM.ToolContext.getAsiContainer()Gets the current ASI container hosting this Agi container is running.ToolContext.getAsiContainerMap()Gets a map for sharing objects across all sessions within the current ASI container.ToolContext.getCall()Convenience method to get the current tool call that initiated this execution.ToolContext.getExecutorService()Convenience method to get the executor service for the current agi session.ToolContext.getModelId()The id of model that is executing the tool.ToolContext.getModelMessage()The id of model that is executing the tool.ToolContext.getResourceManager()Convenience method to get the application's ResourceManager.ToolContext.getResponse()Gets the current tool response from the thread-local context.ToolContext.getSessionMap()Gets a shared map for storing state across turns within the current agi session.ToolContext.getThreadSafeLogger()Gets a thread-safe logging consumer that automatically propagates the current tool execution context whenever a message is logged.ToolContext.getTool()Convenience method to get the metadata for the tool currently being executed.ToolContext.getToolContext()Returns a thread-safe snapshot of this context.<T> TToolContext.getToolkit(Class<T> toolkitClass) Retrieves the singleton instance of a registered toolkit class.ToolContext.getToolManager()Convenience method to get the application's global ToolManager.ToolContext.getTurnMap()Gets a shared map for storing state across turns within the current agi session.booleanToolContext.isToolExecution()Checks if the current thread or this context instance is associated with an active tool execution.voidAdds a standard log message to the current tool's response.voidExecutes a task asynchronously in the session's executor service, automatically propagating the current tool execution context to the background thread. -
Uses of Internal in uno.anahata.asi.swing.toolkit
Methods in uno.anahata.asi.swing.toolkit with annotations of type InternalModifier and TypeMethodDescriptionDesktopToolContext.getAgiPanel()Convenience method to get the AgiPanel for this Agi from the java tool.voidExecutes a task on the EDT in a non-blocking manner while maintaining full context awareness.voidDesktopToolContext.runInEdtAndWait(Runnable runnable) Executes a task on the EDT and blocks the current thread until the task is complete, maintaining full context awareness throughout.

