Class ClaudeWebSearch
Inherited Members
Namespace: Glitch9.AIDevKit.Anthropic
Assembly: Glitch9.AIDevKit.dll
Syntax
public class ClaudeWebSearch : ClaudeTool
Properties
| Edit this page View SourceAllowedDomains
Optional. If provided, only these domains will be included in results. Cannot be used alongside blocked_domains.
Declaration
[JsonProperty("allowed_domains")]
public List<string> AllowedDomains { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
BlockedDomains
Optional. If provided, these domains will never appear in results. Cannot be used alongside allowed_domains.
Declaration
[JsonProperty("blocked_domains")]
public List<string> BlockedDomains { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
MaxUses
Optional. Maximum number of times the tool can be used in the API request. Required range: x > 0
Declaration
[JsonProperty("max_uses")]
public int? MaxUses { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Name
Required. Name of the tool.
Declaration
[JsonProperty("name")]
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
| Edit this page View SourceType
Required. The logical type of the tool. The serialized string is resolved by API settings (ApiPolicy.TryGetToolTypeString).
Declaration
[JsonProperty("type")]
public override ToolType Type { get; }
Property Value
| Type | Description |
|---|---|
| ToolType |
Overrides
| Edit this page View SourceUserLocation
Optional. Parameters for the user's location. Used to provide more relevant search results.
Declaration
[JsonProperty("user_location")]
public Location UserLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| Location |