IntelligenceX

API Reference

Class

ToolExecutionScopes

Namespace IntelligenceX.Tools
Assembly IntelligenceX
Modifiers static

Allowed execution-locality scope tokens used by tool execution contracts.

Inheritance

  • Object
  • ToolExecutionScopes

Methods

public static Boolean IsAllowed(String value) #
Returns: Boolean

Returns true when the supplied scope token is allowed.

Parameters

value System.String requiredposition: 0
public static Boolean IsRemoteCapable(String value) #
Returns: Boolean

Returns true when the supplied scope is remote-capable.

Parameters

value System.String requiredposition: 0
public static String Normalize(String value) #
Returns: String

Normalizes the supplied execution scope token.

Parameters

value System.String requiredposition: 0
public static String Resolve(String explicitScope, Boolean supportsRemoteExecution) #
Returns: String

Resolves a valid scope from an explicit contract value or inferred remote capability.

Parameters

explicitScope System.String requiredposition: 0
supportsRemoteExecution System.Boolean requiredposition: 1

Fields

public const String LocalOnly #

Tool runs only in the local runtime.

Value: local_only
public const String RemoteOnly #

Tool runs only against remote targets or remote backends.

Value: remote_only
public const String LocalOrRemote #

Tool can run locally or against a remote target.

Value: local_or_remote
public static readonly IReadOnlyList<String> AllowedScopes #

Allowed execution scope values.