API Reference
Class
ToolExecutionScopes
Allowed execution-locality scope tokens used by tool execution contracts.
Inheritance
- Object
- ToolExecutionScopes
Methods
public static Boolean IsAllowed(String value) #Returns:
BooleanReturns true when the supplied scope token is allowed.
Parameters
- value System.String
public static Boolean IsRemoteCapable(String value) #Returns:
BooleanReturns true when the supplied scope is remote-capable.
Parameters
- value System.String
public static String Normalize(String value) #Returns:
StringNormalizes the supplied execution scope token.
Parameters
- value System.String
public static String Resolve(String explicitScope, Boolean supportsRemoteExecution) #Returns:
StringResolves a valid scope from an explicit contract value or inferred remote capability.
Parameters
- explicitScope System.String
- supportsRemoteExecution System.Boolean
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Fields
public const String RemoteOnly #Tool runs only against remote targets or remote backends.
Value:
remote_onlypublic const String LocalOrRemote #Tool can run locally or against a remote target.
Value:
local_or_remotepublic static readonly IReadOnlyList<String> AllowedScopes #Allowed execution scope values.