Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abstractMethod() - Method in class org.graalvm.scriptagent.Schema.MethodElement
- abstractMethod(boolean) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Sets whether a guest implementation must provide the method.
- abstractType() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- abstractType(boolean) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Sets whether the type is abstract.
- adapterMetadata() - Method in record class org.graalvm.scriptagent.model.ModelMessage.Assistant
-
Returns the value of the
adapterMetadatarecord component. - addArrayElement(Object, Schema.ArrayLike, Object) - Method in interface org.graalvm.scriptagent.HostBinding.ArrayAccess
- any(String) - Method in class org.graalvm.scriptagent.Schema.Builder
-
Adds the built-in unconstrained value type.
- anyType() - Method in class org.graalvm.scriptagent.Schema
- anyType() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- anyTypeUse() - Method in class org.graalvm.scriptagent.Schema
- append(char) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends one character to the currently open block.
- append(String) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends text verbatim to the currently open block.
- appendIf(boolean, String) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends text verbatim when the condition is true.
- appendLine(String) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends text followed by an LF newline character.
- appendLineIf(boolean, String) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends text followed by an LF newline when the condition is true.
- arguments() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- arguments() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- arguments() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionStart
- argumentsDelta() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallDelta
-
Returns the value of the
argumentsDeltarecord component. - argumentsJson() - Method in record class org.graalvm.scriptagent.model.ModelToolCall
-
Returns the value of the
argumentsJsonrecord component. - arrayAccess(Schema) - Method in class org.graalvm.scriptagent.host.JavaHostBinding
- arrayAccess(Schema) - Method in interface org.graalvm.scriptagent.HostBinding
-
Returns array access logic for host array-like values for the given schema.
- arrayLike() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- arrayLike(Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds writable indexed element access.
- arrayLike(Schema.UnresolvedTypeUse, boolean) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds indexed element access with explicit write capability.
- Assistant(String, String, List, JsonNode) - Constructor for record class org.graalvm.scriptagent.model.ModelMessage.Assistant
-
Creates an instance of a
Assistantrecord class. - attempt() - Method in class org.graalvm.scriptagent.ScriptAgent.TurnEvent
- attribute(String) - Method in class org.graalvm.scriptagent.Schema.MemberElement
- attribute(String) - Method in class org.graalvm.scriptagent.Schema.TypeUse
- attribute(String, String) - Method in class org.graalvm.scriptagent.Schema.FieldElement.Builder
-
Adds a string attribute to the field.
- attribute(String, String) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Adds a string attribute to the method.
- attributeMembersAnnotatedBy(Class, String, String) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Maps an application annotation property to an attribute on discovered members and type uses.
- attributes() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- attributes() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- attributes() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- AuthoringTool - Interface in org.graalvm.scriptagent
-
Defines an advanced extension point for adding model-callable operations to a
ScriptAgentauthoring loop. - AuthoringTool.CompletionResult - Record Class in org.graalvm.scriptagent
-
Completes the authoring run successfully with a script.
- AuthoringTool.ContinueResult - Record Class in org.graalvm.scriptagent
-
Returns a payload to the model and continues the current authoring run.
- AuthoringTool.DraftFile - Record Class in org.graalvm.scriptagent
-
Captures the current source draft and its revision shared by authoring tools.
- AuthoringTool.FailureResult - Class in org.graalvm.scriptagent
-
Terminates the authoring run unsuccessfully with a reason and tool-result payload.
- AuthoringTool.Result - Interface in org.graalvm.scriptagent
-
Controls whether a tool call continues, completes, or fails the current authoring run.
- AuthoringTool.ScriptInvocationResult - Record Class in org.graalvm.scriptagent
-
Captures the guest and converted host values returned by
AuthoringTool.ToolContext.invoke(Source, Context, HostBinding, Schema.MethodElement, Object[]). - AuthoringTool.StaleDraftException - Exception Class in org.graalvm.scriptagent
-
Indicates that a draft update used a revision older than the current draft.
- AuthoringTool.StatusResult - Class in org.graalvm.scriptagent
-
Adds a host-facing execution status to another result without changing its control-flow outcome.
- AuthoringTool.TextEdit - Record Class in org.graalvm.scriptagent
-
Describes an exact source-text replacement.
- AuthoringTool.ToolContext - Class in org.graalvm.scriptagent
-
Provides shared draft state and schema-bound runtime helpers during an authoring run.
- AuthoringTool.ToolSchema - Class in org.graalvm.scriptagent
-
Provides schema and language context used when an
AuthoringTooldescribes itself. - AuthoringTools - Class in org.graalvm.scriptagent
-
Configures the tools a model can use while authoring or revising a script.
- AuthoringTools.Builder - Class in org.graalvm.scriptagent
-
Provides a reusable configuration template for creating
AuthoringToolsinstances;AuthoringTools.Builder.build()may be called multiple times.
B
- beanPropertiesAsFields(boolean) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Controls whether eligible JavaBeans accessors are represented as fields.
- beforeAnalysis(Feature.BeforeAnalysisAccess) - Method in class org.graalvm.scriptagent.nativeimage.ScriptAgentNativeImageFeature
- bind(Context) - Method in class org.graalvm.scriptagent.Script
-
Evaluates this script and binds its root object to the target Java interface.
- bind(Context, Source, Schema, Object, Object) - Method in class org.graalvm.scriptagent.guest.JavaScriptLanguageSupport
- bind(Context, Source, Schema, Object, Object) - Method in class org.graalvm.scriptagent.guest.PythonLanguageSupport
- bind(Context, Source, Schema, Object, Object) - Method in interface org.graalvm.scriptagent.LanguageSupport
- bind(Context, HostBinding) - Method in class org.graalvm.scriptagent.Script
-
Evaluates this script using an explicit host binding and binds its root object to the target Java interface.
- bind(Context, HostBinding, LanguageSupport) - Method in class org.graalvm.scriptagent.Script
- bind(Context, LanguageSupport) - Method in class org.graalvm.scriptagent.Script
- blankLine() - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends two LF newline characters.
- block(String, String, Consumer) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends a nested block with an explicit omission marker and contents configured by a callback.
- block(String, Consumer) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends a nested block configured by a callback and using the default omission marker.
- BOOLEAN - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
- build() - Method in class org.graalvm.scriptagent.AuthoringTools.Builder
-
Creates an authoring-tools configuration from the current settings.
- build() - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Creates a snapshot of the current discovery settings.
- build() - Method in class org.graalvm.scriptagent.PromptBuilder
-
Builds the complete prompt without omitting blocks.
- build() - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Builds a snapshot of the current sandbox configuration.
- build() - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Creates an object-type declaration from the current settings.
- build() - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Creates an agent from the current configuration.
- build() - Method in class org.graalvm.scriptagent.ScriptAgent.SessionBuilder
-
Creates a session from the current configuration.
- build(int) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Builds a prompt using greedy block omission to meet the token budget.
- build(Class) - Method in class org.graalvm.scriptagent.Script.Builder
-
Creates a script artifact for the given interface.
- build(String) - Method in class org.graalvm.scriptagent.Schema.Builder
-
Creates a validated schema rooted at the specified object type.
- BYTE - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
C
- CHARACTER - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
- clear() - Method in class org.graalvm.scriptagent.ScriptAgent.Session
- clearFile(int) - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- close() - Method in interface org.graalvm.scriptagent.AuthoringTool
- close() - Method in class org.graalvm.scriptagent.ScriptAgent
- close() - Method in class org.graalvm.scriptagent.ScriptAgent.Session
- CompletionResult(Script, String) - Constructor for record class org.graalvm.scriptagent.AuthoringTool.CompletionResult
-
Creates an instance of a
CompletionResultrecord class. - configure(Context.Builder) - Method in class org.graalvm.scriptagent.Sandbox
- configureContext(Consumer) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Registers a customizer for context builders configured by the resulting sandbox.
- CONSTRAINED - Static variable in class org.graalvm.scriptagent.Sandbox
- content() - Method in record class org.graalvm.scriptagent.AuthoringTool.DraftFile
-
Returns the value of the
contentrecord component. - CONTINUE - Static variable in class org.graalvm.scriptagent.ScriptAgent.TurnEnd
- ContinueResult(String) - Constructor for record class org.graalvm.scriptagent.AuthoringTool.ContinueResult
-
Creates an instance of a
ContinueResultrecord class. - contribute(SchemaReflectionRegistry) - Method in interface org.graalvm.scriptagent.nativeimage.SchemaReflection
- create(MethodHandles.Lookup) - Static method in class org.graalvm.scriptagent.host.JavaHostBinding
- currentRevision() - Method in exception class org.graalvm.scriptagent.AuthoringTool.StaleDraftException
D
- declaration() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- declaredMember(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- declaredMembers() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- declaredName() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- declaredName(String) - Method in class org.graalvm.scriptagent.Schema.FieldElement.Builder
-
Sets the declaration-family name used when resolving inherited instance members.
- declaredName(String) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Sets the declaration-family name used for inherited instance methods and overload naming.
- declaredTypeMember(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- declaredTypeMembers() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- DEFAULT - Enum constant in enum class org.graalvm.scriptagent.Schema.PromptRenderMode
- DEFAULT - Static variable in class org.graalvm.scriptagent.host.JavaDiscoveryConfig
- defaultAuthoringTools(AuthoringTools) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Sets the authoring tools used when an operation does not supply them explicitly.
- defaultOmittedText(String) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Sets the fallback marker for blocks without an explicit omission marker.
- DefaultSchemaDiscovery - Annotation Interface in org.graalvm.scriptagent.nativeimage
-
Marks a reachable Java entry point for default schema discovery at native-image build time.
- delta() - Method in record class org.graalvm.scriptagent.model.ModelEvent.TextDelta
-
Returns the value of the
deltarecord component. - delta() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ThinkingDelta
-
Returns the value of the
deltarecord component. - description() - Method in record class org.graalvm.scriptagent.model.ModelTool
-
Returns the value of the
descriptionrecord component. - description() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- description() - Method in class org.graalvm.scriptagent.Schema.SchemaType
- description() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- description() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- description(String) - Method in class org.graalvm.scriptagent.Schema.FieldElement.Builder
-
Sets the field description used during authoring.
- description(String) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Sets the method description used during authoring.
- description(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Sets the type description used during authoring.
- description(AuthoringTool.ToolSchema) - Method in interface org.graalvm.scriptagent.AuthoringTool
- deserializeBinding(Schema.Element, Map) - Method in class org.graalvm.scriptagent.host.JavaHostBinding
- deserializeBinding(Schema.Element, Map) - Method in interface org.graalvm.scriptagent.PersistentHostBinding
- disableResponseTimeout() - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Disables the model-response inactivity timeout.
- discover(Class) - Static method in class org.graalvm.scriptagent.host.JavaDiscovery
-
Discovers a schema and reflection-backed host binding from a public Java entry point.
- discover(Class, MethodHandles.Lookup) - Static method in class org.graalvm.scriptagent.host.JavaDiscovery
-
Discovers a schema and reflection-backed host binding using an explicit lookup and the default discovery configuration.
- discover(Class, MethodHandles.Lookup, JavaDiscoveryConfig) - Static method in class org.graalvm.scriptagent.host.JavaDiscovery
-
Discovers a schema and reflection-backed host binding using an explicit lookup and discovery configuration.
- discover(Class, JavaDiscoveryConfig) - Static method in class org.graalvm.scriptagent.host.JavaDiscovery
-
Discovers a schema and reflection-backed host binding using the public lookup and an explicit discovery configuration.
- discoverReflectionTypes(boolean) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Controls whether Java reflection metadata types are eligible for deep discovery.
- DOUBLE - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
- DraftFile(String, String, int) - Constructor for record class org.graalvm.scriptagent.AuthoringTool.DraftFile
-
Creates an instance of a
DraftFilerecord class.
E
- elementType() - Method in class org.graalvm.scriptagent.Schema.ArrayLike
- elementType() - Method in class org.graalvm.scriptagent.Schema.IterableLike
- emit(ModelEvent) - Method in interface org.graalvm.scriptagent.model.ModelEventSink
-
Handles one model event before generation continues.
- empty() - Static method in record class org.graalvm.scriptagent.AuthoringTool.DraftFile
- enabledTraits(Class...) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Sets the structural traits that discovery may infer for Java types.
- endBlock() - Method in class org.graalvm.scriptagent.PromptBuilder
-
Closes the currently open nested block.
- enumConstant(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a nominal enum constant as a same-typed type field.
- enumConstant(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- enumConstant(String, Consumer) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a configured nominal enum constant as a same-typed type field.
- EnumConstant(Schema.ObjectType, Schema.FieldElement) - Constructor for record class org.graalvm.scriptagent.Schema.EnumConstant
-
Creates an instance of a
EnumConstantrecord class. - enumConstants() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- enumLike() - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Marks same-typed type fields as nominal enum constants.
- enumLike() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- EnumLike() - Constructor for class org.graalvm.scriptagent.Schema.EnumLike
- equals(Object) - Method in class org.graalvm.scriptagent.Schema.Property
- equals(Object) - Method in class org.graalvm.scriptagent.Schema.TypeParameter
- equals(Object) - Method in class org.graalvm.scriptagent.Schema.TypeUse
- equals(Object) - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- equals(Object) - Method in record class org.graalvm.scriptagent.AuthoringTool.CompletionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.AuthoringTool.ContinueResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.AuthoringTool.DraftFile
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.graalvm.scriptagent.AuthoringTool.FailureResult
- equals(Object) - Method in record class org.graalvm.scriptagent.AuthoringTool.ScriptInvocationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.AuthoringTool.TextEdit
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelEvent.Start
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelEvent.TextDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelEvent.ThinkingDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallComplete
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelMessage.Assistant
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelMessage.ToolResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelMessage.User
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelTool
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelToolCall
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.model.ModelUsage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.graalvm.scriptagent.Schema.EnumConstant
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class org.graalvm.scriptagent.model.ModelMessage.ToolResult
-
Returns the value of the
errorrecord component. - error() - Method in class org.graalvm.scriptagent.ScriptAgent.MessageEnd
- error() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionEnd
- estimatedTokens() - Method in record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Returns the value of the
estimatedTokensrecord component. - estimateTokens(String) - Method in class org.graalvm.scriptagent.PromptBuilder.ApproximateTokenEstimator
-
Returns a deterministic approximate token count for the given text.
- estimateTokens(String) - Method in interface org.graalvm.scriptagent.PromptBuilder.TokenEstimator
-
Returns the estimated token count for the given text.
- eventListener(Consumer) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Adds a listener for lifecycle events from every authoring run created by the agent.
- eventListener(Consumer) - Method in class org.graalvm.scriptagent.ScriptAgent.SessionBuilder
-
Adds a synchronous listener for lifecycle events emitted by this session.
- exceptionType() - Method in class org.graalvm.scriptagent.ScriptAgent.Retry
- executable() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- executable(boolean) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Explicitly sets whether values of the type may be represented as callable guest values.
- Executable() - Constructor for class org.graalvm.scriptagent.Schema.Executable
- executableTrait() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- execute(AuthoringTool.ToolContext, JsonNode) - Method in interface org.graalvm.scriptagent.AuthoringTool
-
Executes this tool with parsed arguments.
- expectedRevision() - Method in exception class org.graalvm.scriptagent.AuthoringTool.StaleDraftException
F
- field() - Method in record class org.graalvm.scriptagent.Schema.EnumConstant
-
Returns the value of the
fieldrecord component. - field(String) - Method in class org.graalvm.scriptagent.Schema
- field(String, Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a read-only instance field.
- field(String, Schema.UnresolvedTypeUse, Consumer) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds an instance field configured by the given callback.
- file() - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- fileName() - Method in record class org.graalvm.scriptagent.AuthoringTool.DraftFile
-
Returns the value of the
fileNamerecord component. - finalAttempt() - Method in class org.graalvm.scriptagent.ScriptAgent.RunEnd
- finalStep() - Method in class org.graalvm.scriptagent.ScriptAgent.RunEnd
- fingerprint() - Method in class org.graalvm.scriptagent.Schema
- finishReason() - Method in record class org.graalvm.scriptagent.model.ModelResponse
-
Returns the value of the
finishReasonrecord component. - FLOAT - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
- fromJson(Class, String, Schema) - Static method in class org.graalvm.scriptagent.Script
-
Restores a script from JSON against the supplied interface and schema.
- fromJson(String) - Static method in class org.graalvm.scriptagent.Schema
- fromJson(String, PersistentHostBinding) - Static method in class org.graalvm.scriptagent.Schema
G
- generate(Class, String) - Method in class org.graalvm.scriptagent.ScriptAgent
-
Authors a script for an interface discovered with the default Java discovery configuration.
- generate(Class, String, AuthoringTools) - Method in class org.graalvm.scriptagent.ScriptAgent
- generate(Class, Schema, String) - Method in class org.graalvm.scriptagent.ScriptAgent
- generate(Class, Schema, String, AuthoringTools) - Method in class org.graalvm.scriptagent.ScriptAgent
-
Authors a script for an interface using an explicit schema and authoring-tool configuration.
- generate(String) - Method in class org.graalvm.scriptagent.ScriptAgent.Session
- generate(String, AuthoringTools) - Method in class org.graalvm.scriptagent.ScriptAgent.Session
- generate(ModelRequest, ModelEventSink) - Method in class org.graalvm.scriptagent.langchain4j.LangChainModel
- generate(ModelRequest, ModelEventSink) - Method in interface org.graalvm.scriptagent.model.Model
-
Generates a response and synchronously reports available progress.
- generate(ModelRequest, ModelEventSink) - Method in class org.graalvm.scriptagent.springai.SpringAiModel
- getArrayElement(Object, long) - Method in interface org.graalvm.scriptagent.HostBinding.ArrayAccess
- getArraySize(Object) - Method in interface org.graalvm.scriptagent.HostBinding.ArrayAccess
- getIterator(Object) - Method in interface org.graalvm.scriptagent.HostBinding.IterableAccess
- getMapEntriesIterator(Object) - Method in interface org.graalvm.scriptagent.HostBinding.MapAccess
- getMapSize(Object) - Method in interface org.graalvm.scriptagent.HostBinding.MapAccess
- getMapValue(Object, Schema.MapLike, Object) - Method in interface org.graalvm.scriptagent.HostBinding.MapAccess
H
- hashCode() - Method in record class org.graalvm.scriptagent.AuthoringTool.CompletionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.AuthoringTool.ContinueResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.AuthoringTool.DraftFile
-
Returns a hash code value for this object.
- hashCode() - Method in class org.graalvm.scriptagent.AuthoringTool.FailureResult
- hashCode() - Method in record class org.graalvm.scriptagent.AuthoringTool.ScriptInvocationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.AuthoringTool.TextEdit
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelEvent.Start
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelEvent.TextDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ThinkingDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallComplete
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelMessage.Assistant
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelMessage.ToolResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelMessage.User
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelTool
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelToolCall
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.model.ModelUsage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.graalvm.scriptagent.Schema.EnumConstant
-
Returns a hash code value for this object.
- hashCode() - Method in class org.graalvm.scriptagent.Schema.Property
- hashCode() - Method in class org.graalvm.scriptagent.Schema.TypeParameter
- hashCode() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- hashCode() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- hasMapEntry(Object, Schema.MapLike, Object) - Method in interface org.graalvm.scriptagent.HostBinding.MapAccess
- hostBinding() - Method in class org.graalvm.scriptagent.Schema
- hostBinding(HostBinding) - Method in class org.graalvm.scriptagent.Schema.Builder
-
Sets the host binding attached to schemas created by this builder.
- HostBinding - Interface in org.graalvm.scriptagent
-
Abstracts every interaction between guest scripts and host objects during script execution.
- HostBinding.ArrayAccess - Interface in org.graalvm.scriptagent
-
Adapts supported host receivers to array operations declared by
Schema.ArrayLike. - HostBinding.GuestImplementation - Interface in org.graalvm.scriptagent
-
Provides a host-callable adapter for a guest implementation of an implementable schema type.
- HostBinding.IterableAccess - Interface in org.graalvm.scriptagent
-
Adapts supported host receivers to iteration declared by
Schema.IterableLike. - HostBinding.MapAccess - Interface in org.graalvm.scriptagent
-
Adapts supported host receivers to map operations declared by
Schema.MapLike. - HostBinding.ObjectAccess - Interface in org.graalvm.scriptagent
-
Adapts supported host receivers to instance fields and methods declared by a schema type.
- HostBinding.TypeAccess - Interface in org.graalvm.scriptagent
-
Adapts host-owned type receivers to members exposed through
types.<Type>and to guest-provided implementations. - hostValue() - Method in record class org.graalvm.scriptagent.AuthoringTool.ScriptInvocationResult
-
Returns the value of the
hostValuerecord component.
I
- id() - Method in class org.graalvm.scriptagent.guest.JavaScriptLanguageSupport
- id() - Method in class org.graalvm.scriptagent.guest.PythonLanguageSupport
- id() - Method in interface org.graalvm.scriptagent.LanguageSupport
- id() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallDelta
-
Returns the value of the
idrecord component. - id() - Method in record class org.graalvm.scriptagent.model.ModelResponse
-
Returns the value of the
idrecord component. - id() - Method in record class org.graalvm.scriptagent.model.ModelToolCall
-
Returns the value of the
idrecord component. - id() - Method in interface org.graalvm.scriptagent.Schema.Element
- id() - Method in record class org.graalvm.scriptagent.Schema.EnumConstant
- id() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- id() - Method in enum class org.graalvm.scriptagent.Schema.PromptRenderMode
- id() - Method in class org.graalvm.scriptagent.Schema.SchemaType
- implement(Schema.ObjectType, Object) - Method in interface org.graalvm.scriptagent.HostBinding.TypeAccess
-
Materializes a host-side implementation for an implementable abstract schema type.
- implementable(boolean) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Controls whether guest code may implement this type.
- Implementable() - Constructor for class org.graalvm.scriptagent.Schema.Implementable
- implementableTypeTrait() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- includeClassesMatching(Predicate) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Sets the predicate selecting reachable non-root classes for deep discovery.
- includeMethodsMatching(Predicate) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Sets the predicate selecting otherwise eligible public methods for discovery.
- includeTraitMembers(boolean) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Controls whether ordinary members are included for non-root types represented by traits.
- index() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallComplete
-
Returns the value of the
indexrecord component. - index() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallDelta
-
Returns the value of the
indexrecord component. - inputTokens() - Method in record class org.graalvm.scriptagent.model.ModelUsage
-
Returns the value of the
inputTokensrecord component. - INSTANCE - Static variable in class org.graalvm.scriptagent.guest.JavaScriptLanguageSupport
- INSTANCE - Static variable in class org.graalvm.scriptagent.guest.PythonLanguageSupport
- INSTANCE - Static variable in class org.graalvm.scriptagent.PromptBuilder.ApproximateTokenEstimator
-
Shared approximate estimator instance.
- instructions(String) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Sets stable instructions included in every authoring prompt.
- INT - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
- interfaceType() - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- interfaceType() - Method in class org.graalvm.scriptagent.Schema
- interfaceType() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- interfaceType() - Method in class org.graalvm.scriptagent.Script
- interfaceType() - Method in class org.graalvm.scriptagent.ScriptAgent.RunStart
- interfaceType(boolean) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Sets whether the type represents a Java interface.
- invoke(Source, Context, HostBinding, Schema.MethodElement, Object[]) - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- invoke(Schema.MethodElement, Object[]) - Method in interface org.graalvm.scriptagent.HostBinding.GuestImplementation
-
Invokes a method on a guest-originated implementation of an implementable schema type.
- invokeMethod(Object, Schema.MethodElement, Object[]) - Method in interface org.graalvm.scriptagent.HostBinding.ObjectAccess
- isEmpty() - Method in record class org.graalvm.scriptagent.AuthoringTool.DraftFile
- ISOLATED - Static variable in class org.graalvm.scriptagent.Sandbox
- isSupported() - Method in class org.graalvm.scriptagent.Sandbox
- iterableAccess(Schema) - Method in class org.graalvm.scriptagent.host.JavaHostBinding
- iterableAccess(Schema) - Method in interface org.graalvm.scriptagent.HostBinding
-
Returns iterator access logic for host iterable values for the given schema.
- iterableLike() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- iterableLike(Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds iteration over values of the given element type.
J
- JavaDiscovery - Class in org.graalvm.scriptagent.host
-
Discovers a
Schemaand reflection-backedJavaHostBindingfrom a public Java entry point. - JavaDiscoveryConfig - Class in org.graalvm.scriptagent.host
-
Configures how
JavaDiscoverymaps Java types and members into aSchema. - JavaDiscoveryConfig.Builder - Class in org.graalvm.scriptagent.host
-
Provides a reusable configuration template for creating
JavaDiscoveryConfiginstances;JavaDiscoveryConfig.Builder.build()may be called multiple times. - JavaHostBinding - Class in org.graalvm.scriptagent.host
-
Provides the reflection-backed
PersistentHostBindingused by Java-discovered schemas. - JavaScriptLanguageSupport - Class in org.graalvm.scriptagent.guest
-
Provides the built-in
LanguageSupportfor plain JavaScript guest source. - json() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionEnd
K
- keyType() - Method in class org.graalvm.scriptagent.Schema.MapLike
- kind() - Method in interface org.graalvm.scriptagent.AuthoringTool
L
- LangChainModel - Class in org.graalvm.scriptagent.langchain4j
-
Adapts a LangChain4j streaming chat model to the Script Agent model protocol.
- language() - Method in class org.graalvm.scriptagent.Script
- language(String) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Selects a built-in guest language by its Polyglot language identifier.
- language(LanguageSupport) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Selects custom guest-language support for authored scripts.
- languageId() - Method in class org.graalvm.scriptagent.ScriptAgent
- languageId() - Method in class org.graalvm.scriptagent.ScriptAgent.RunStart
- languageSupport() - Method in class org.graalvm.scriptagent.AuthoringTool.ToolSchema
- LanguageSupport - Interface in org.graalvm.scriptagent
-
Adapts schema prompting and runtime binding to a guest language.
- LONG - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
- lookupObjectType(Object) - Method in class org.graalvm.scriptagent.host.JavaHostBinding
- lookupObjectType(Object) - Method in interface org.graalvm.scriptagent.HostBinding
-
Resolves the schema object type for a nominal host receiver flowing through a declared
Anysurface.
M
- mapAccess(Schema) - Method in class org.graalvm.scriptagent.host.JavaHostBinding
- mapAccess(Schema) - Method in interface org.graalvm.scriptagent.HostBinding
-
Returns map access logic for host map-like values for the given schema.
- mapLike() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- mapLike(Schema.UnresolvedTypeUse, Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds writable keyed entry access.
- mapLike(Schema.UnresolvedTypeUse, Schema.UnresolvedTypeUse, boolean) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds keyed entry access with explicit write capability.
- maxAstDepth(Integer) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Sets the maximum AST depth of a guest function.
- maxAuthoringSteps(int) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Sets the maximum number of model responses whose authoring-tool requests may be executed within each attempt.
- maxCpuTime(Duration) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Sets the maximum cumulative CPU time spent executing a context.
- maxErrorStreamSize(Long) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Sets the maximum number of bytes that the guest may write to standard error.
- maxIsolateMemory(Long) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Sets the maximum isolate heap size in bytes.
- maxOutputStreamSize(Long) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Sets the maximum number of bytes that the guest may write to standard output.
- maxRetries(int) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Sets the maximum number of retries after retryable model failures or invalid responses.
- maxScriptMemory(Long) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Sets the maximum heap memory retained by the guest application, in bytes.
- maxThreads(Integer) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Sets the maximum number of threads that may be entered into a context concurrently.
- maxTokens() - Method in record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Returns the value of the
maxTokensrecord component. - member(String) - Method in class org.graalvm.scriptagent.Schema
- member(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- members() - Method in class org.graalvm.scriptagent.Schema
- members() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- message() - Method in record class org.graalvm.scriptagent.model.ModelResponse
-
Returns the value of the
messagerecord component. - message() - Method in class org.graalvm.scriptagent.ScriptAgent.Retry
- messages() - Method in record class org.graalvm.scriptagent.model.ModelRequest
-
Returns the value of the
messagesrecord component. - method(String) - Method in class org.graalvm.scriptagent.Schema
- method(String, Consumer) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds an instance method configured by the given callback.
- MINIMAL - Static variable in class org.graalvm.scriptagent.AuthoringTools
- mockExecution(Sandbox) - Method in class org.graalvm.scriptagent.AuthoringTools.Builder
-
Enables schema-backed mock execution in the given sandbox.
- Model - Interface in org.graalvm.scriptagent.model
-
Generates one assistant response for a complete, provider-neutral model request.
- ModelEvent - Interface in org.graalvm.scriptagent.model
-
Reports ordered, observational progress while a
Modelgenerates its final response. - ModelEvent.Start - Record Class in org.graalvm.scriptagent.model
-
Marks the start of a model response before any progress fragments are emitted.
- ModelEvent.TextDelta - Record Class in org.graalvm.scriptagent.model
-
Reports one incremental fragment of assistant text.
- ModelEvent.ThinkingDelta - Record Class in org.graalvm.scriptagent.model
-
Reports one incremental fragment of assistant reasoning.
- ModelEvent.ToolCallComplete - Record Class in org.graalvm.scriptagent.model
-
Reports that one streamed tool call is complete without requesting its execution.
- ModelEvent.ToolCallDelta - Record Class in org.graalvm.scriptagent.model
-
Reports incremental data for one streamed tool call.
- ModelEventSink - Interface in org.graalvm.scriptagent.model
-
Receives synchronous, ordered progress events from one
Modelinvocation. - ModelException - Exception Class in org.graalvm.scriptagent.model
-
Reports a model-provider or model-protocol failure with an explicit retry classification.
- ModelException(String, boolean) - Constructor for exception class org.graalvm.scriptagent.model.ModelException
-
Creates a classified model failure.
- ModelException(String, Throwable, boolean) - Constructor for exception class org.graalvm.scriptagent.model.ModelException
-
Creates a classified model failure with its original cause.
- ModelMessage - Interface in org.graalvm.scriptagent.model
-
Represents one provider-independent entry in an ordered model conversation.
- ModelMessage.Assistant - Record Class in org.graalvm.scriptagent.model
-
Carries completed assistant content, requested tool calls, and adapter replay metadata.
- ModelMessage.ToolResult - Record Class in org.graalvm.scriptagent.model
-
Carries the host result corresponding to one earlier assistant tool call.
- ModelMessage.User - Record Class in org.graalvm.scriptagent.model
-
Carries user-authored or host-authored context presented with the model's user role.
- modelName() - Method in record class org.graalvm.scriptagent.model.ModelResponse
-
Returns the value of the
modelNamerecord component. - ModelRequest - Record Class in org.graalvm.scriptagent.model
-
Carries the complete, provider-independent input for one
Modelinvocation. - ModelRequest(String, List, List) - Constructor for record class org.graalvm.scriptagent.model.ModelRequest
-
Creates an instance of a
ModelRequestrecord class. - ModelResponse - Record Class in org.graalvm.scriptagent.model
-
Carries the authoritative final result of one
Modelinvocation. - ModelResponse(ModelMessage.Assistant, String, String, String, ModelUsage) - Constructor for record class org.graalvm.scriptagent.model.ModelResponse
-
Creates an instance of a
ModelResponserecord class. - ModelTool - Record Class in org.graalvm.scriptagent.model
-
Describes one provider-independent tool available to a model during script authoring.
- ModelTool(String, String, JsonNode) - Constructor for record class org.graalvm.scriptagent.model.ModelTool
-
Creates an instance of a
ModelToolrecord class. - ModelToolCall - Record Class in org.graalvm.scriptagent.model
-
Carries a provider-independent request by an assistant to invoke a named tool.
- ModelToolCall(String, String, String) - Constructor for record class org.graalvm.scriptagent.model.ModelToolCall
-
Creates an instance of a
ModelToolCallrecord class. - ModelUsage - Record Class in org.graalvm.scriptagent.model
-
Reports provider token counts for one
ModelResponse. - ModelUsage(long, long, long) - Constructor for record class org.graalvm.scriptagent.model.ModelUsage
-
Creates an instance of a
ModelUsagerecord class.
N
- name() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaAttribute
-
Returns the attribute name.
- name() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaProperty
-
Returns the non-blank property name.
- name() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallDelta
-
Returns the value of the
namerecord component. - name() - Method in record class org.graalvm.scriptagent.model.ModelTool
-
Returns the value of the
namerecord component. - name() - Method in record class org.graalvm.scriptagent.model.ModelToolCall
-
Returns the value of the
namerecord component. - name() - Method in record class org.graalvm.scriptagent.Schema.EnumConstant
- name() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- name() - Method in class org.graalvm.scriptagent.Schema.Property
- name() - Method in class org.graalvm.scriptagent.Schema.SchemaParameter
- name() - Method in class org.graalvm.scriptagent.Schema.SchemaType
- name() - Method in class org.graalvm.scriptagent.Schema.TypeParameter
- name(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Sets the display name recorded for the type.
- newBuilder() - Static method in class org.graalvm.scriptagent.AuthoringTools
-
Creates a builder initialized for the minimal built-in authoring tool set.
- newBuilder() - Static method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig
-
Creates a builder initialized with the discovery settings used by
JavaDiscoveryConfig.DEFAULT. - newBuilder() - Static method in class org.graalvm.scriptagent.PromptBuilder
-
Creates an empty prompt builder.
- newBuilder() - Static method in class org.graalvm.scriptagent.Schema
-
Creates an empty schema builder.
- newBuilder(String) - Static method in class org.graalvm.scriptagent.Schema.ObjectType
-
Creates a builder for a nominal object type with the given identifier.
- newBuilder(SandboxPolicy) - Static method in class org.graalvm.scriptagent.Sandbox
-
Creates a builder for the given sandbox policy with no resource limits or context customizers.
- newBuilder(Source, Schema) - Static method in class org.graalvm.scriptagent.Script
-
Creates a builder for packaging guest-language source against a schema.
- newBuilder(Model) - Static method in class org.graalvm.scriptagent.ScriptAgent
-
Creates a builder for agents that use the given model for authoring requests.
- newBuilder(Sandbox) - Static method in class org.graalvm.scriptagent.Sandbox
-
Creates a builder initialized from an existing sandbox.
- newBuilder(Schema) - Static method in class org.graalvm.scriptagent.Schema
-
Creates a builder initialized with the declarations and host binding of an existing schema.
- newContext(String) - Method in class org.graalvm.scriptagent.Sandbox
- newContextBuilder(String) - Method in class org.graalvm.scriptagent.Sandbox
- newline() - Method in class org.graalvm.scriptagent.PromptBuilder
-
Appends one LF newline character.
- newSession(Class, Schema) - Method in class org.graalvm.scriptagent.ScriptAgent
-
Creates an empty authoring session for an interface and schema.
- newSession(Script) - Method in class org.graalvm.scriptagent.ScriptAgent
-
Creates an authoring session initialized from an existing script.
- newSessionBuilder(Class, Schema) - Method in class org.graalvm.scriptagent.ScriptAgent
-
Creates a builder for a session targeting the given interface and schema.
- newSessionBuilder(Script) - Method in class org.graalvm.scriptagent.ScriptAgent
-
Creates a builder for a session initialized from an existing script.
- newText() - Method in record class org.graalvm.scriptagent.AuthoringTool.TextEdit
-
Returns the value of the
newTextrecord component. - NONE - Static variable in interface org.graalvm.scriptagent.model.ModelEventSink
-
A sink that discards every progress event.
- nullable() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- nullable() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- nullable(String) - Static method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- nullable(Schema.SchemaType) - Static method in class org.graalvm.scriptagent.Schema.TypeUse
O
- object(String, Consumer) - Method in class org.graalvm.scriptagent.Schema.Builder
-
Adds an object type configured by the given callback.
- objectAccess(Schema) - Method in class org.graalvm.scriptagent.host.JavaHostBinding
- objectAccess(Schema) - Method in interface org.graalvm.scriptagent.HostBinding
-
Returns access logic for instance host object values for the given schema.
- of(StreamingChatModel) - Static method in class org.graalvm.scriptagent.langchain4j.LangChainModel
-
Creates an adapter for the configured LangChain4j model.
- of(String) - Static method in enum class org.graalvm.scriptagent.Schema.PromptRenderMode
- of(String) - Static method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- of(String, String) - Static method in class org.graalvm.scriptagent.AuthoringTool.FailureResult
- of(Schema.SchemaType) - Static method in class org.graalvm.scriptagent.Schema.TypeUse
- of(ChatModel) - Static method in class org.graalvm.scriptagent.springai.SpringAiModel
-
Creates an adapter for the configured Spring AI model.
- oldText() - Method in record class org.graalvm.scriptagent.AuthoringTool.TextEdit
-
Returns the value of the
oldTextrecord component. - OMIT - Enum constant in enum class org.graalvm.scriptagent.Schema.PromptRenderMode
- omittedBlockIds() - Method in record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Returns the value of the
omittedBlockIdsrecord component. - org.graalvm.scriptagent - package org.graalvm.scriptagent
-
Core APIs for defining schemas, authoring reusable scripts, and binding them for execution.
- org.graalvm.scriptagent.annotations - package org.graalvm.scriptagent.annotations
-
Annotations for deriving script schemas and authoring metadata from Java APIs.
- org.graalvm.scriptagent.guest - package org.graalvm.scriptagent.guest
-
Built-in guest-language integrations for authoring and binding JavaScript and Python scripts.
- org.graalvm.scriptagent.host - package org.graalvm.scriptagent.host
-
Java reflection-based schema discovery and host binding.
- org.graalvm.scriptagent.langchain4j - package org.graalvm.scriptagent.langchain4j
-
LangChain4j integration for the Script Agent model protocol.
- org.graalvm.scriptagent.model - package org.graalvm.scriptagent.model
-
Provider-independent model requests, responses, tool calls, and streaming events.
- org.graalvm.scriptagent.nativeimage - package org.graalvm.scriptagent.nativeimage
-
Native Image hooks for registering schema-discovery reflection metadata.
- org.graalvm.scriptagent.springai - package org.graalvm.scriptagent.springai
-
Spring AI integration for the Script Agent model protocol.
- org.graalvm.scriptagent.test - package org.graalvm.scriptagent.test
-
APIs for registering host-side acceptance tests that validate authored script candidates.
- outcome() - Method in class org.graalvm.scriptagent.ScriptAgent.TurnEnd
- outputTokens() - Method in record class org.graalvm.scriptagent.model.ModelUsage
-
Returns the value of the
outputTokensrecord component. - owner() - Method in record class org.graalvm.scriptagent.Schema.EnumConstant
-
Returns the value of the
ownerrecord component. - owner() - Method in class org.graalvm.scriptagent.Schema.MemberElement
P
- parameter(String, Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Adds a positional method parameter.
- parameterized(String, List) - Static method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- parameterized(Schema.SchemaType, List) - Static method in class org.graalvm.scriptagent.Schema.TypeUse
- parameters() - Method in class org.graalvm.scriptagent.Schema.MethodElement
- parametersSchema() - Method in record class org.graalvm.scriptagent.model.ModelTool
-
Returns the value of the
parametersSchemarecord component. - parametersSchema(AuthoringTool.ToolSchema) - Method in interface org.graalvm.scriptagent.AuthoringTool
-
Returns the tool argument schema.
- parseError() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionStart
- payload() - Method in record class org.graalvm.scriptagent.AuthoringTool.CompletionResult
-
Returns the value of the
payloadrecord component. - payload() - Method in record class org.graalvm.scriptagent.AuthoringTool.ContinueResult
-
Returns the value of the
payloadrecord component. - payload() - Method in class org.graalvm.scriptagent.AuthoringTool.FailureResult
- payload() - Method in interface org.graalvm.scriptagent.AuthoringTool.Result
- payload() - Method in class org.graalvm.scriptagent.AuthoringTool.StatusResult
- permittedSubtype(Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a permitted direct subtype, making this a sealed type declaration.
- permittedSubtypes() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- PersistentHostBinding - Interface in org.graalvm.scriptagent
-
Adds persistence of schema-element binding metadata to a
HostBinding. - projectHostValue(Context, HostBinding, Schema.TypeUse, Object) - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- prompt() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaProperty
-
Returns the instruction asking the model to supply the property value.
- prompt() - Method in class org.graalvm.scriptagent.Schema.Property
- Prompt(String, int, int, List, List) - Constructor for record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Creates an instance of a
Promptrecord class. - PromptBuilder - Class in org.graalvm.scriptagent
-
Builds reusable, budgeted text prompts from nested optional blocks.
- PromptBuilder.ApproximateTokenEstimator - Class in org.graalvm.scriptagent
-
Provides the default deterministic approximate token estimator used by
PromptBuilder. - PromptBuilder.Prompt - Record Class in org.graalvm.scriptagent
-
Describes an immutable rendered prompt and its block-selection result.
- PromptBuilder.TokenEstimator - Interface in org.graalvm.scriptagent
-
Estimates the token cost of rendered or intermediate prompt text.
- promptHint() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- promptHint() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- promptTokenLimit(int) - Method in class org.graalvm.scriptagent.AuthoringTools.Builder
-
Sets the maximum estimated token count for the rendered system prompt.
- properties() - Method in class org.graalvm.scriptagent.Schema
- properties() - Method in class org.graalvm.scriptagent.Script
- properties(Map) - Method in class org.graalvm.scriptagent.Script.Builder
-
Merges property values into the current configuration.
- property(String) - Method in class org.graalvm.scriptagent.Schema
- property(String) - Method in class org.graalvm.scriptagent.Script
- property(String, String) - Method in class org.graalvm.scriptagent.Schema.Builder
-
Declares a model-authored string property required by every script using the schema.
- property(String, String) - Method in class org.graalvm.scriptagent.Script.Builder
-
Sets the value of a schema-declared script property.
- Property(String, String) - Constructor for class org.graalvm.scriptagent.Schema.Property
- putMapEntry(Object, Schema.MapLike, Object, Object) - Method in interface org.graalvm.scriptagent.HostBinding.MapAccess
- PythonLanguageSupport - Class in org.graalvm.scriptagent.guest
-
Provides the built-in
LanguageSupportfor Python guest source.
R
- rawArguments() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionStart
- readField(Object, Schema.FieldElement) - Method in interface org.graalvm.scriptagent.HostBinding.ObjectAccess
- reason() - Method in class org.graalvm.scriptagent.AuthoringTool.FailureResult
- reason() - Method in class org.graalvm.scriptagent.ScriptAgent.Retry
- recommended(Sandbox) - Static method in class org.graalvm.scriptagent.AuthoringTools
-
Creates the recommended built-in authoring-tool configuration.
- recordComponentsAsFields(boolean) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Controls whether discovered record components are represented as readable fields.
- register(Class) - Method in class org.graalvm.scriptagent.nativeimage.SchemaReflectionRegistry
-
Discovers the schema rooted at an entry point using default Java discovery and registers its reflection metadata.
- register(Schema) - Method in class org.graalvm.scriptagent.nativeimage.SchemaReflectionRegistry
-
Registers reflection metadata for an existing schema.
- removeArrayElement(Object, long) - Method in interface org.graalvm.scriptagent.HostBinding.ArrayAccess
- removeMapEntry(Object, Schema.MapLike, Object) - Method in interface org.graalvm.scriptagent.HostBinding.MapAccess
- renderEnd(Schema, PromptBuilder) - Method in class org.graalvm.scriptagent.guest.JavaScriptLanguageSupport
- renderEnd(Schema, PromptBuilder) - Method in class org.graalvm.scriptagent.guest.PythonLanguageSupport
- renderEnd(Schema, PromptBuilder) - Method in interface org.graalvm.scriptagent.LanguageSupport
- renderMode() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- renderMode() - Method in class org.graalvm.scriptagent.Schema.SchemaType
- renderMode(Schema.PromptRenderMode) - Method in class org.graalvm.scriptagent.Schema.FieldElement.Builder
-
Sets how the field is rendered in authoring prompts.
- renderMode(Schema.PromptRenderMode) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Sets how the method is rendered in authoring prompts.
- renderMode(Schema.PromptRenderMode) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Sets how the type is rendered in authoring prompts.
- renderObjectNamespace(Schema, PromptBuilder, List) - Method in class org.graalvm.scriptagent.guest.JavaScriptLanguageSupport
- renderObjectNamespace(Schema, PromptBuilder, List) - Method in class org.graalvm.scriptagent.guest.PythonLanguageSupport
- renderObjectNamespace(Schema, PromptBuilder, List) - Method in interface org.graalvm.scriptagent.LanguageSupport
- renderObjectType(Schema, PromptBuilder, Schema.ObjectType) - Method in class org.graalvm.scriptagent.guest.JavaScriptLanguageSupport
- renderObjectType(Schema, PromptBuilder, Schema.ObjectType) - Method in class org.graalvm.scriptagent.guest.PythonLanguageSupport
- renderObjectType(Schema, PromptBuilder, Schema.ObjectType) - Method in interface org.graalvm.scriptagent.LanguageSupport
- renderPrompt(Schema) - Method in class org.graalvm.scriptagent.ScriptAgent
- renderPrompt(Schema, AuthoringTools) - Method in class org.graalvm.scriptagent.ScriptAgent
- renderSchemaDetail(String) - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- renderStart(Schema, PromptBuilder) - Method in class org.graalvm.scriptagent.guest.JavaScriptLanguageSupport
- renderStart(Schema, PromptBuilder) - Method in class org.graalvm.scriptagent.guest.PythonLanguageSupport
- renderStart(Schema, PromptBuilder) - Method in interface org.graalvm.scriptagent.LanguageSupport
- replaceFile(String, String, int) - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- request() - Method in class org.graalvm.scriptagent.ScriptAgent.TurnStart
- requireAnyType() - Method in class org.graalvm.scriptagent.Schema
- requireArrayLike() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- requireAttribute(String) - Method in class org.graalvm.scriptagent.Schema.MemberElement
- requireDeclaredMember(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- requireDeclaredTypeMember(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- requireField(String) - Method in class org.graalvm.scriptagent.Schema
- requireHostBinding() - Method in class org.graalvm.scriptagent.Schema
- requireIterableLike() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- requireMapLike() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- requireMember(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- requireMember(String) - Method in class org.graalvm.scriptagent.Schema
- requireMethod(String) - Method in class org.graalvm.scriptagent.Schema
- requireProperty(String) - Method in class org.graalvm.scriptagent.Schema
- requireProperty(String) - Method in class org.graalvm.scriptagent.Script
- requireType(String) - Method in class org.graalvm.scriptagent.Schema
- requireTypeMember(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- requireVoidType() - Method in class org.graalvm.scriptagent.Schema
- resolveTypeUses(Map) - Method in class org.graalvm.scriptagent.Schema.ArrayLike
- resolveTypeUses(Map) - Method in class org.graalvm.scriptagent.Schema.IterableLike
- resolveTypeUses(Map) - Method in class org.graalvm.scriptagent.Schema.MapLike
- resolveTypeUses(Map) - Method in interface org.graalvm.scriptagent.Schema.Trait
- response() - Method in class org.graalvm.scriptagent.ScriptAgent.MessageEnd
- responseTimeout(Duration) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Sets the maximum period without model progress while awaiting a response.
- result() - Method in class org.graalvm.scriptagent.AuthoringTool.StatusResult
- result() - Method in class org.graalvm.scriptagent.ScriptAgent.RunEnd
- retainedBlockIds() - Method in record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Returns the value of the
retainedBlockIdsrecord component. - RETRY - Static variable in class org.graalvm.scriptagent.ScriptAgent.TurnEnd
- retryable() - Method in exception class org.graalvm.scriptagent.model.ModelException
-
Returns whether another invocation may succeed without changing the request.
- returnsVoid() - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Selects the void-return form.
- returnType() - Method in class org.graalvm.scriptagent.Schema.MethodElement
- returnType(Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Selects the explicit-return-type form and sets the method return type.
- revise(Script, String) - Method in class org.graalvm.scriptagent.ScriptAgent
- revise(Script, String, AuthoringTools) - Method in class org.graalvm.scriptagent.ScriptAgent
-
Authors a replacement for an existing script.
- revision() - Method in record class org.graalvm.scriptagent.AuthoringTool.DraftFile
-
Returns the value of the
revisionrecord component. - RUN_COMPLETED - Static variable in class org.graalvm.scriptagent.ScriptAgent.TurnEnd
- RUN_FAILED - Static variable in class org.graalvm.scriptagent.ScriptAgent.TurnEnd
- runId() - Method in class org.graalvm.scriptagent.ScriptAgent.Event
S
- sampleInspection(Sandbox, Object...) - Method in class org.graalvm.scriptagent.AuthoringTools.Builder
-
Enables guest-language inspection of representative host values.
- Sandbox - Class in org.graalvm.scriptagent
-
Defines reusable sandbox settings for
polyglot contexts. - Sandbox.Builder - Class in org.graalvm.scriptagent
-
Builds reusable sandbox configuration templates for a fixed policy.
- sandboxPolicy() - Method in class org.graalvm.scriptagent.Sandbox
- scalar(String, Schema.ScalarKind) - Method in class org.graalvm.scriptagent.Schema.Builder
-
Adds a scalar type with the given runtime-conversion kind.
- scalarKind() - Method in class org.graalvm.scriptagent.Schema.ScalarType
- schema() - Method in class org.graalvm.scriptagent.AuthoringTool.ToolSchema
- schema() - Method in class org.graalvm.scriptagent.Script
- schema() - Method in class org.graalvm.scriptagent.ScriptAgent.Session
- Schema - Class in org.graalvm.scriptagent
-
Defines the nominal, typed contract exposed to guest-language scripts.
- Schema.ArrayLike - Class in org.graalvm.scriptagent
-
Declares indexed element access with an element type and optional write capability.
- Schema.Builder - Class in org.graalvm.scriptagent
-
Provides a reusable configuration template for creating
Schemainstances;Schema.Builder.build(String)may be called multiple times. - Schema.Element - Interface in org.graalvm.scriptagent
-
Represents a schema declaration that can be addressed by its identifier.
- Schema.EnumConstant - Record Class in org.graalvm.scriptagent
-
Identifies a constant exposed by an enum-like object type.
- Schema.EnumLike - Class in org.graalvm.scriptagent
-
Declares that same-typed type fields represent nominal enum constants.
- Schema.Executable - Class in org.graalvm.scriptagent
-
Declares that a guest implementation may represent an object type as a callable value.
- Schema.FieldElement - Class in org.graalvm.scriptagent
-
Describes a guest-visible field, its value type, and whether the schema permits writes.
- Schema.FieldElement.Builder - Class in org.graalvm.scriptagent
-
Configures a field declaration inside an
Schema.ObjectType.Buildercallback. - Schema.Implementable - Class in org.graalvm.scriptagent
-
Declares that guest code may implement an abstract, non-sealed interface type.
- Schema.IterableLike - Class in org.graalvm.scriptagent
-
Declares iteration over values of an element type.
- Schema.MapLike - Class in org.graalvm.scriptagent
-
Declares keyed entry access with key and value types and optional write capability.
- Schema.MemberElement - Class in org.graalvm.scriptagent
-
Base descriptor for a field or method exposed on an
Schema.ObjectType. - Schema.MethodElement - Class in org.graalvm.scriptagent
-
Describes a guest-visible method signature.
- Schema.MethodElement.Builder - Class in org.graalvm.scriptagent
-
Configures a method declaration inside an
Schema.ObjectType.Buildercallback. - Schema.ObjectType - Class in org.graalvm.scriptagent
-
Describes a nominal object type and its guest-visible relationships, members, and structural capabilities.
- Schema.ObjectType.Builder - Class in org.graalvm.scriptagent
-
Configures a single object-type declaration for inclusion in a
Schema. - Schema.PromptRenderMode - Enum Class in org.graalvm.scriptagent
-
Controls the default model-facing rendering of a schema type or member.
- Schema.Property - Class in org.graalvm.scriptagent
-
Declares a model-authored string property required by a schema.
- Schema.ScalarKind - Enum Class in org.graalvm.scriptagent
-
Classifies scalar values for language rendering and runtime conversion.
- Schema.ScalarType - Class in org.graalvm.scriptagent
-
Describes a scalar value type and the
Schema.ScalarKindused for runtime conversion. - Schema.SchemaParameter - Class in org.graalvm.scriptagent
-
Describes a named method parameter and its value type.
- Schema.SchemaType - Class in org.graalvm.scriptagent
-
Describes a named value type declared by a schema.
- Schema.Trait - Interface in org.graalvm.scriptagent
-
Identifies structural operations supported by values of an object type.
- Schema.TypeParameter - Class in org.graalvm.scriptagent
-
Describes a generic type parameter and an optional upper-bound hint.
- Schema.TypeTrait - Interface in org.graalvm.scriptagent
-
Identifies capabilities attached to an object type rather than to individual values.
- Schema.TypeUse - Class in org.graalvm.scriptagent
-
Represents an immutable, resolved use of a schema type.
- Schema.UnresolvedTypeUse - Class in org.graalvm.scriptagent
-
Represents an immutable type use by target identifier while a schema is being built.
- SchemaAttribute - Annotation Interface in org.graalvm.scriptagent.annotations
-
Adds a string key-value attribute to a schema element or type use discovered from Java.
- SchemaAttributes - Annotation Interface in org.graalvm.scriptagent.annotations
-
Contains repeated
SchemaAttributedeclarations. - SchemaDoc - Annotation Interface in org.graalvm.scriptagent.annotations
-
Supplies authoring documentation for a schema type, type use, or member discovered from Java.
- SchemaExclude - Annotation Interface in org.graalvm.scriptagent.annotations
-
Prevents
JavaDiscoveryfrom exposing an annotated Java member or deeply discovering an annotated type. - SchemaPromptRender - Annotation Interface in org.graalvm.scriptagent.annotations
-
Controls whether Java-discovered type or member details appear in the default authoring prompt.
- SchemaProperties - Annotation Interface in org.graalvm.scriptagent.annotations
-
Contains repeated
SchemaPropertydeclarations. - SchemaProperty - Annotation Interface in org.graalvm.scriptagent.annotations
-
Declares a required, model-authored string property for scripts generated from a Java root interface.
- SchemaReflection - Interface in org.graalvm.scriptagent.nativeimage
-
Build-time schema reflection hook loaded by
ScriptAgentNativeImageFeaturethroughServiceLoader. - SchemaReflectionRegistry - Class in org.graalvm.scriptagent.nativeimage
-
Build-time registry used by native-image contributors to request schema-derived reflection metadata.
- SchemaTag - Annotation Interface in org.graalvm.scriptagent.annotations
-
Adds a string tag to a schema element or type use discovered from Java.
- SchemaTags - Annotation Interface in org.graalvm.scriptagent.annotations
-
Contains repeated
SchemaTagdeclarations. - schemaVersion() - Method in class org.graalvm.scriptagent.ScriptAgent.Event
- script() - Method in record class org.graalvm.scriptagent.AuthoringTool.CompletionResult
-
Returns the value of the
scriptrecord component. - Script<T> - Class in org.graalvm.scriptagent
-
Represents a reusable guest-language script that can be bound as an implementation of a Java interface.
- Script.Builder - Class in org.graalvm.scriptagent
-
Provides a reusable configuration template for creating
Scriptinstances;Script.Builder.build(Class)may be called multiple times. - ScriptAgent - Class in org.graalvm.scriptagent
-
Authors guest-language scripts that implement Java interfaces from natural-language requests.
- ScriptAgent.Builder - Class in org.graalvm.scriptagent
-
Provides a reusable configuration template for creating
ScriptAgentinstances;ScriptAgent.Builder.build()may be called multiple times. - ScriptAgent.Event - Class in org.graalvm.scriptagent
-
Base type for immutable lifecycle events emitted during script authoring.
- ScriptAgent.MessageEnd - Class in org.graalvm.scriptagent
-
Marks completion or failure of the model response for a turn.
- ScriptAgent.MessageStart - Class in org.graalvm.scriptagent
-
Marks the beginning of the model response for a turn.
- ScriptAgent.MessageUpdate - Class in org.graalvm.scriptagent
-
Carries one streamed text, thinking, or tool-call update from the model.
- ScriptAgent.Retry - Class in org.graalvm.scriptagent
-
Reports a retryable failure before the next authoring attempt begins.
- ScriptAgent.RunEnd - Class in org.graalvm.scriptagent
-
Marks the terminal success or failure of an authoring run.
- ScriptAgent.RunStart - Class in org.graalvm.scriptagent
-
Marks the beginning of a script generation or revision run.
- ScriptAgent.Session<T> - Class in org.graalvm.scriptagent
-
Retains the current script and authoring conversation across related model-backed requests.
- ScriptAgent.SessionBuilder<T> - Class in org.graalvm.scriptagent
-
Provides a reusable configuration template for creating
ScriptAgent.Sessioninstances;ScriptAgent.SessionBuilder.build()may be called multiple times. - ScriptAgent.ToolExecutionEnd - Class in org.graalvm.scriptagent
-
Marks the end of handling an authoring tool call and carries its result.
- ScriptAgent.ToolExecutionStart - Class in org.graalvm.scriptagent
-
Marks the start of handling a requested authoring tool call.
- ScriptAgent.TurnEnd - Class in org.graalvm.scriptagent
-
Marks the end of an authoring turn and identifies its control-flow outcome.
- ScriptAgent.TurnEvent - Class in org.graalvm.scriptagent
-
Base type for events associated with one zero-based retry attempt and authoring step.
- ScriptAgent.TurnStart - Class in org.graalvm.scriptagent
-
Marks the beginning of a model turn and carries the request sent to the model.
- ScriptAgentNativeImageFeature - Class in org.graalvm.scriptagent.nativeimage
-
Native-image feature auto-enabled by the library native-image.properties resource.
- ScriptAgentNativeImageFeature() - Constructor for class org.graalvm.scriptagent.nativeimage.ScriptAgentNativeImageFeature
- ScriptAuthoringException - Exception Class in org.graalvm.scriptagent
-
Indicates that script authoring failed before a valid final script envelope was produced.
- ScriptAuthoringException(String) - Constructor for exception class org.graalvm.scriptagent.ScriptAuthoringException
- ScriptAuthoringException(String, Throwable) - Constructor for exception class org.graalvm.scriptagent.ScriptAuthoringException
- ScriptInvocationResult(Value, Schema.TypeUse, Object) - Constructor for record class org.graalvm.scriptagent.AuthoringTool.ScriptInvocationResult
-
Creates an instance of a
ScriptInvocationResultrecord class. - ScriptTestSuite<T> - Interface in org.graalvm.scriptagent.test
-
Registers named host-defined acceptance tests that candidate scripts must pass before authoring completes.
- sealed() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- selectedType() - Method in record class org.graalvm.scriptagent.AuthoringTool.ScriptInvocationResult
-
Returns the value of the
selectedTyperecord component. - sequence() - Method in class org.graalvm.scriptagent.ScriptAgent.Event
- serializeBinding(Schema.Element) - Method in class org.graalvm.scriptagent.host.JavaHostBinding
- serializeBinding(Schema.Element) - Method in interface org.graalvm.scriptagent.PersistentHostBinding
- setArrayElement(Object, Schema.ArrayLike, long, Object) - Method in interface org.graalvm.scriptagent.HostBinding.ArrayAccess
- SHORT - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
- source() - Method in class org.graalvm.scriptagent.Script
- sourceText() - Method in class org.graalvm.scriptagent.Script
- SpringAiModel - Class in org.graalvm.scriptagent.springai
-
Adapts a blocking Spring AI chat model to the Script Agent model protocol.
- StaleDraftException(int, int) - Constructor for exception class org.graalvm.scriptagent.AuthoringTool.StaleDraftException
- Start() - Constructor for record class org.graalvm.scriptagent.model.ModelEvent.Start
-
Creates an instance of a
Startrecord class. - startBlock(String) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Opens a nested block that uses the default omission marker.
- startBlock(String, String) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Opens a nested block with an explicit omission marker.
- startStatusMessage() - Method in interface org.graalvm.scriptagent.AuthoringTool
-
Returns an optional host-defined status shown when this tool starts.
- statementLimit(Long) - Method in class org.graalvm.scriptagent.Sandbox.Builder
-
Sets the maximum number of statements that a context may execute.
- statusMessage() - Method in class org.graalvm.scriptagent.AuthoringTool.StatusResult
- statusMessage() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionEnd
- statusMessage() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionStart
- step() - Method in class org.graalvm.scriptagent.ScriptAgent.TurnEvent
- STRING - Enum constant in enum class org.graalvm.scriptagent.Schema.ScalarKind
- success() - Method in class org.graalvm.scriptagent.ScriptAgent.RunEnd
- supertype(Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a direct supertype.
- supertypes() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- supertypes(List) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Replaces all direct supertypes with the supplied ordered list.
- supports(Object) - Method in interface org.graalvm.scriptagent.HostBinding.ArrayAccess
- supports(Object) - Method in interface org.graalvm.scriptagent.HostBinding.IterableAccess
- supports(Object) - Method in interface org.graalvm.scriptagent.HostBinding.MapAccess
- supports(Object) - Method in interface org.graalvm.scriptagent.HostBinding.ObjectAccess
- synthetic(boolean) - Method in class org.graalvm.scriptagent.Schema.FieldElement.Builder
-
Marks an instance field as a synthetic fallback during inherited-field resolution.
- systemPrompt() - Method in record class org.graalvm.scriptagent.model.ModelRequest
-
Returns the value of the
systemPromptrecord component.
T
- tag(String) - Method in class org.graalvm.scriptagent.Schema.FieldElement.Builder
-
Adds a metadata tag to the field.
- tag(String) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Adds a metadata tag to the method.
- tagMembersAnnotatedBy(Class, String) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Maps an application annotation to a tag on discovered members and type uses.
- tags() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- tags() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- tags() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- targetId() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- targetId() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- targetType() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- test(String, Consumer) - Method in interface org.graalvm.scriptagent.test.ScriptTestSuite
-
Adds a test that invokes the candidate script implementation.
- testExecution(Sandbox, Class, Consumer) - Method in class org.graalvm.scriptagent.AuthoringTools.Builder
-
Configures host-defined acceptance tests for candidate scripts.
- text() - Method in record class org.graalvm.scriptagent.model.ModelMessage.Assistant
-
Returns the value of the
textrecord component. - text() - Method in record class org.graalvm.scriptagent.model.ModelMessage.ToolResult
-
Returns the value of the
textrecord component. - text() - Method in record class org.graalvm.scriptagent.model.ModelMessage.User
-
Returns the value of the
textrecord component. - text() - Method in record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Returns the value of the
textrecord component. - text() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionEnd
- TEXT_DELTA - Static variable in class org.graalvm.scriptagent.ScriptAgent.MessageUpdate
- TextDelta(String) - Constructor for record class org.graalvm.scriptagent.model.ModelEvent.TextDelta
-
Creates an instance of a
TextDeltarecord class. - TextEdit(String, String) - Constructor for record class org.graalvm.scriptagent.AuthoringTool.TextEdit
-
Creates an instance of a
TextEditrecord class. - thinking() - Method in record class org.graalvm.scriptagent.model.ModelMessage.Assistant
-
Returns the value of the
thinkingrecord component. - THINKING_DELTA - Static variable in class org.graalvm.scriptagent.ScriptAgent.MessageUpdate
- ThinkingDelta(String) - Constructor for record class org.graalvm.scriptagent.model.ModelEvent.ThinkingDelta
-
Creates an instance of a
ThinkingDeltarecord class. - timestamp() - Method in class org.graalvm.scriptagent.ScriptAgent.Event
- toJson() - Method in class org.graalvm.scriptagent.Schema
- toJson() - Method in class org.graalvm.scriptagent.Script
-
Serializes this script as a portable JSON artifact.
- tokenEstimator(PromptBuilder.TokenEstimator) - Method in class org.graalvm.scriptagent.PromptBuilder
-
Sets the estimator used during subsequent builds.
- tool(Supplier) - Method in class org.graalvm.scriptagent.AuthoringTools.Builder
-
Adds a factory for a custom authoring tool.
- TOOL_CALL_COMPLETE - Static variable in class org.graalvm.scriptagent.ScriptAgent.MessageUpdate
- TOOL_CALL_DELTA - Static variable in class org.graalvm.scriptagent.ScriptAgent.MessageUpdate
- toolCall() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallComplete
-
Returns the value of the
toolCallrecord component. - ToolCallComplete(int, ModelToolCall) - Constructor for record class org.graalvm.scriptagent.model.ModelEvent.ToolCallComplete
-
Creates an instance of a
ToolCallCompleterecord class. - ToolCallDelta(int, String, String, String) - Constructor for record class org.graalvm.scriptagent.model.ModelEvent.ToolCallDelta
-
Creates an instance of a
ToolCallDeltarecord class. - toolCallId() - Method in record class org.graalvm.scriptagent.model.ModelMessage.ToolResult
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionEnd
- toolCallId() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionStart
- toolCallIndex() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionEnd
- toolCallIndex() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionStart
- toolCalls() - Method in record class org.graalvm.scriptagent.model.ModelMessage.Assistant
-
Returns the value of the
toolCallsrecord component. - toolName() - Method in record class org.graalvm.scriptagent.model.ModelMessage.ToolResult
-
Returns the value of the
toolNamerecord component. - toolName() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionEnd
- toolName() - Method in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionStart
- ToolResult(String, String, String, boolean) - Constructor for record class org.graalvm.scriptagent.model.ModelMessage.ToolResult
-
Creates an instance of a
ToolResultrecord class. - tools() - Method in record class org.graalvm.scriptagent.model.ModelRequest
-
Returns the value of the
toolsrecord component. - toString() - Method in record class org.graalvm.scriptagent.AuthoringTool.CompletionResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.AuthoringTool.ContinueResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.AuthoringTool.DraftFile
-
Returns a string representation of this record class.
- toString() - Method in class org.graalvm.scriptagent.AuthoringTool.FailureResult
- toString() - Method in record class org.graalvm.scriptagent.AuthoringTool.ScriptInvocationResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.AuthoringTool.TextEdit
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelEvent.Start
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelEvent.TextDelta
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ThinkingDelta
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallComplete
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelEvent.ToolCallDelta
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelMessage.Assistant
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelMessage.ToolResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelMessage.User
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelTool
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelToolCall
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.model.ModelUsage
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.PromptBuilder.Prompt
-
Returns a string representation of this record class.
- toString() - Method in record class org.graalvm.scriptagent.Schema.EnumConstant
-
Returns a string representation of this record class.
- toString() - Method in enum class org.graalvm.scriptagent.Schema.PromptRenderMode
- toString() - Method in class org.graalvm.scriptagent.Schema.Property
- toString() - Method in class org.graalvm.scriptagent.Schema
- toString() - Method in class org.graalvm.scriptagent.Schema.TypeParameter
- toString() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- toString() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- toString() - Method in class org.graalvm.scriptagent.Script
- totalTokens() - Method in record class org.graalvm.scriptagent.model.ModelUsage
-
Returns the value of the
totalTokensrecord component. - traceEvents(OutputStream) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Adds a listener that writes the complete lifecycle event stream as UTF-8 JSON Lines.
- traceEvents(OutputStream) - Method in class org.graalvm.scriptagent.ScriptAgent.SessionBuilder
-
Adds a listener that writes this session's lifecycle events as UTF-8 JSON Lines.
- traceStatus(OutputStream) - Method in class org.graalvm.scriptagent.ScriptAgent.Builder
-
Adds a listener that writes concise authoring progress as UTF-8 text.
- traceStatus(OutputStream) - Method in class org.graalvm.scriptagent.ScriptAgent.SessionBuilder
-
Adds a listener that writes concise progress for this session as UTF-8 text.
- trait(Class) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- trait(Schema.Trait) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a structural value trait.
- traits() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- TRUSTED - Static variable in class org.graalvm.scriptagent.Sandbox
- type() - Method in class org.graalvm.scriptagent.Schema.FieldElement
- type() - Method in class org.graalvm.scriptagent.Schema.SchemaParameter
- type() - Method in class org.graalvm.scriptagent.ScriptAgent.Event
- type(String) - Method in class org.graalvm.scriptagent.Schema
- type(Schema.SchemaType) - Method in class org.graalvm.scriptagent.Schema.Builder
-
Adds an existing schema type descriptor.
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.MessageEnd
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.MessageStart
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.MessageUpdate
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.Retry
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.RunEnd
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.RunStart
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionEnd
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.ToolExecutionStart
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.TurnEnd
- TYPE - Static variable in class org.graalvm.scriptagent.ScriptAgent.TurnStart
- typeAccess(Schema) - Method in class org.graalvm.scriptagent.host.JavaHostBinding
- typeAccess(Schema) - Method in interface org.graalvm.scriptagent.HostBinding
-
Returns access logic for members exposed on
types.<Type>for the given schema. - typeField(String, Schema.UnresolvedTypeUse) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a read-only type field.
- typeField(String, Schema.UnresolvedTypeUse, Consumer) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a type field configured by the given callback.
- typeMember() - Method in class org.graalvm.scriptagent.Schema.MemberElement
- typeMember(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- typeMembers() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- typeMethod(String, Consumer) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a type method configured by the given callback.
- typeObject(Schema.ObjectType) - Method in interface org.graalvm.scriptagent.HostBinding.TypeAccess
-
Returns the host-owned receiver object backing
types.<Type>. - typeParameter(String) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Adds a method type parameter without an upper-bound hint.
- typeParameter(String) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a type parameter without an upper-bound hint.
- typeParameter(String, String) - Method in class org.graalvm.scriptagent.Schema.MethodElement.Builder
-
Adds a method type parameter with an upper-bound hint.
- typeParameter(String, String) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a type parameter with an upper-bound hint.
- typeParameters() - Method in class org.graalvm.scriptagent.Schema.MethodElement
- typeParameters() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- types() - Method in class org.graalvm.scriptagent.Schema
- typesRoot(Context, HostBinding) - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- typeTrait(Class) - Method in class org.graalvm.scriptagent.Schema.ObjectType
- typeTrait(Schema.TypeTrait) - Method in class org.graalvm.scriptagent.Schema.ObjectType.Builder
-
Adds a capability attached to the object type itself.
- typeTraits() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- typeVariable() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- typeVariable() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- typeVariable(String) - Static method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
U
- UNKNOWN - Static variable in record class org.graalvm.scriptagent.model.ModelUsage
-
Usage with all three counts unknown.
- UNTRUSTED - Static variable in class org.graalvm.scriptagent.Sandbox
- update() - Method in class org.graalvm.scriptagent.ScriptAgent.MessageUpdate
- updateType() - Method in class org.graalvm.scriptagent.ScriptAgent.MessageUpdate
- upperBoundHint() - Method in class org.graalvm.scriptagent.Schema.TypeParameter
- usage() - Method in record class org.graalvm.scriptagent.model.ModelResponse
-
Returns the value of the
usagerecord component. - useDefaultSchemaAnnotations(boolean) - Method in class org.graalvm.scriptagent.host.JavaDiscoveryConfig.Builder
-
Controls built-in processing of Script Agent schema annotations.
- User(String) - Constructor for record class org.graalvm.scriptagent.model.ModelMessage.User
-
Creates an instance of a
Userrecord class.
V
- validate(Source, Context, HostBinding) - Method in class org.graalvm.scriptagent.AuthoringTool.ToolContext
- value() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaAttribute
-
Returns the attribute value.
- value() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaAttributes
-
Returns the contained schema attributes.
- value() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaDoc
-
Returns the schema documentation text.
- value() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaPromptRender
-
Returns the prompt rendering mode.
- value() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaProperties
-
Returns the contained schema properties.
- value() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaTag
-
Returns the tag value.
- value() - Element in annotation interface org.graalvm.scriptagent.annotations.SchemaTags
-
Returns the contained schema tags.
- value() - Method in record class org.graalvm.scriptagent.AuthoringTool.ScriptInvocationResult
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class org.graalvm.scriptagent.Schema.PromptRenderMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.scriptagent.Schema.ScalarKind
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.graalvm.scriptagent.Schema.PromptRenderMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.scriptagent.Schema.ScalarKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueType() - Method in class org.graalvm.scriptagent.Schema.MapLike
- voidRef() - Static method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- voidType() - Method in class org.graalvm.scriptagent.Schema.ObjectType
- voidType() - Method in class org.graalvm.scriptagent.Schema.TypeUse
- voidType() - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- voidType() - Method in class org.graalvm.scriptagent.Schema
- voidType(String) - Method in class org.graalvm.scriptagent.Schema.Builder
-
Adds the built-in no-value type.
- voidTypeUse() - Method in class org.graalvm.scriptagent.Schema
W
- withAttribute(String, String) - Method in class org.graalvm.scriptagent.Schema.TypeUse
- withAttribute(String, String) - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- withDescription(String) - Method in class org.graalvm.scriptagent.Schema.TypeUse
- withDescription(String) - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- withNullable(boolean) - Method in class org.graalvm.scriptagent.Schema.TypeUse
- withNullable(boolean) - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- withPromptHint(String) - Method in class org.graalvm.scriptagent.Schema.TypeUse
- withPromptHint(String) - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- withStatus(AuthoringTool.Result, String) - Static method in interface org.graalvm.scriptagent.AuthoringTool.Result
-
Attaches a host-defined status describing a completed execution without changing the underlying result kind.
- withTag(String) - Method in class org.graalvm.scriptagent.Schema.TypeUse
- withTag(String) - Method in class org.graalvm.scriptagent.Schema.UnresolvedTypeUse
- writable() - Method in class org.graalvm.scriptagent.Schema.ArrayLike
- writable() - Method in class org.graalvm.scriptagent.Schema.FieldElement
- writable() - Method in class org.graalvm.scriptagent.Schema.MapLike
- writable(boolean) - Method in class org.graalvm.scriptagent.Schema.FieldElement.Builder
-
Sets whether the schema permits guest code to write the field.
- writeField(Object, Schema.FieldElement, Object) - Method in interface org.graalvm.scriptagent.HostBinding.ObjectAccess
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form