Search Results for

    Show / Hide Table of Contents

    Class ToolUseBlock

    Inheritance
    object
    ContentBlock
    ToolUseBlock
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public class ToolUseBlock : ContentBlock

    Properties

    | Edit this page View Source

    Input

    Required. The input to pass to the tool.

    Declaration
    [JsonProperty("input")]
    public string Input { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Name

    Required. The name of the tool that the model wants to use.

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ToolUseId

    Required. The ID for the tool request.

    Declaration
    [JsonProperty("toolUseId")]
    public string ToolUseId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Type

    Optional. The type for the tool request.

    Declaration
    [JsonProperty("type")]
    public string Type { get; set; }
    Property Value
    Type Description
    string
    Remarks

    Valid Values: server_tool_use

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation