Struct ToolType
[Serializable]
public readonly struct ToolType : IStringWrapper
- Implements
-
IStringWrapper
- Extension Methods
Constructors
ToolType(string)
public ToolType(string value)
Parameters
valuestring
Fields
ClaudeBash
public const string ClaudeBash = "bash_20250124"
Field Value
- string
ClaudeCodeExecution
public const string ClaudeCodeExecution = "code_execution_20250522"
Field Value
- string
ClaudeComputerUse
public const string ClaudeComputerUse = "computer_20250124"
Field Value
- string
ClaudeCustom
public const string ClaudeCustom = "custom"
Field Value
- string
ClaudeTextEditor
public const string ClaudeTextEditor = "text_editor_20250429"
Field Value
- string
ClaudeWebSearch
public const string ClaudeWebSearch = "web_search_20250305"
Field Value
- string
CodeInterpreter
public const string CodeInterpreter = "code_interpreter"
Field Value
- string
ComputerUse
public const string ComputerUse = "computer_use_preview"
Field Value
- string
Custom
public const string Custom = "custom"
Field Value
- string
FileSearch
public const string FileSearch = "file_search"
Field Value
- string
Function
public const string Function = "function"
Field Value
- string
GoogleCodeExecution
public const string GoogleCodeExecution = "code_execution"
Field Value
- string
GoogleSearch
public const string GoogleSearch = "google_search"
Field Value
- string
GoogleUrlContext
public const string GoogleUrlContext = "url_context"
Field Value
- string
Image
public const string Image = "image_generation"
Field Value
- string
LocalShell
public const string LocalShell = "local_shell"
Field Value
- string
Mcp
public const string Mcp = "mcp"
Field Value
- string
McpListTools
public const string McpListTools = "mcp_list_tools"
Field Value
- string
None
public const string None = "none"
Field Value
- string
PerplexityWebSearch
public const string PerplexityWebSearch = "perplexity_web_search"
Field Value
- string
SpeechGen
public const string SpeechGen = "speech_generation"
Field Value
- string
WebSearch
public const string WebSearch = "web_search"
Field Value
- string
WebSearchPreview
public const string WebSearchPreview = "web_search_preview"
Field Value
- string
WebSearchPreview_2025_03_11
public const string WebSearchPreview_2025_03_11 = "web_search_preview_2025_03_11"
Field Value
- string
WebSearch_2025_08_26
public const string WebSearch_2025_08_26 = "web_search_2025_08_26"
Field Value
- string
XSearch
xAI specific tool to search X (formerly known as Twitter) for real-time information.
public const string XSearch = "x_search"
Field Value
- string
XWebSearch
public const string XWebSearch = "web_search"
Field Value
- string
Properties
Value
public string Value { get; }
Property Value
- string
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
implicit operator string(ToolType)
public static implicit operator string(ToolType type)
Parameters
typeToolType
Returns
- string
implicit operator ToolType(string)
public static implicit operator ToolType(string value)
Parameters
valuestring