Search Results for

    Show / Hide Table of Contents

    Class ClaudeTool.CacheControl

    Inheritance
    object
    ClaudeTool.CacheControl
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Anthropic
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class ClaudeTool.CacheControl

    Properties

    | Edit this page View Source

    Ttl

    Optional. The time-to-live for the cache control breakpoint.

    This may be one the following values:

    5m: 5 minutes 1h: 1 hour Defaults to 5m.

    Available options: 5m, 1h

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

    Type

    Required. Available options: ephemeral

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

    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