anthropic 1.45.0 → 1.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/anthropic/models/beta/agent_create_params.rb +8 -8
- data/lib/anthropic/models/beta/agent_update_params.rb +7 -10
- data/lib/anthropic/models/beta/beta_advisor_tool_20260301.rb +15 -1
- data/lib/anthropic/models/beta/beta_advisor_tool_result_error.rb +1 -0
- data/lib/anthropic/models/beta/beta_advisor_tool_result_error_param.rb +1 -0
- data/lib/anthropic/models/beta/beta_managed_agents_custom_tool_input_schema.rb +10 -27
- data/lib/anthropic/models/beta/beta_tool_search_tool_result_error_param.rb +7 -1
- data/lib/anthropic/models/beta/beta_webhook_session_archived_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_created_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_deleted_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_idled_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_outcome_evaluation_ended_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_pending_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_requires_action_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_running_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_status_idled_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_status_rescheduled_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_status_run_started_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_status_terminated_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_thread_created_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_thread_idled_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_session_thread_terminated_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_vault_archived_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_vault_created_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_vault_credential_archived_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_vault_credential_created_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_vault_credential_deleted_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_vault_credential_refresh_failed_event_data.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_vault_deleted_event_data.rb +2 -2
- data/lib/anthropic/models/beta/session_list_params.rb +2 -2
- data/lib/anthropic/models/tool_search_tool_result_error_param.rb +7 -1
- data/lib/anthropic/resources/beta/agents.rb +7 -7
- data/lib/anthropic/resources/beta/sessions.rb +1 -1
- data/lib/anthropic/version.rb +1 -1
- data/rbi/anthropic/models/beta/agent_create_params.rbi +8 -8
- data/rbi/anthropic/models/beta/agent_update_params.rbi +6 -12
- data/rbi/anthropic/models/beta/beta_advisor_tool_20260301.rbi +20 -0
- data/rbi/anthropic/models/beta/beta_advisor_tool_result_error.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_advisor_tool_result_error_param.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_tool_input_schema.rbi +9 -68
- data/rbi/anthropic/models/beta/beta_tool_search_tool_result_error_param.rbi +11 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_archived_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_created_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_deleted_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_idled_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_outcome_evaluation_ended_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_pending_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_requires_action_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_running_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_status_idled_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_status_rescheduled_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_status_run_started_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_status_terminated_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_thread_created_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_thread_idled_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_session_thread_terminated_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_vault_archived_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_vault_created_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_vault_credential_archived_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_vault_credential_created_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_vault_credential_deleted_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_vault_credential_refresh_failed_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_webhook_vault_deleted_event_data.rbi +2 -2
- data/rbi/anthropic/models/beta/session_list_params.rbi +2 -2
- data/rbi/anthropic/models/tool_search_tool_result_error_param.rbi +11 -2
- data/rbi/anthropic/resources/beta/agents.rbi +8 -10
- data/rbi/anthropic/resources/beta/sessions.rbi +1 -1
- data/sig/anthropic/models/beta/beta_advisor_tool_20260301.rbs +5 -0
- data/sig/anthropic/models/beta/beta_advisor_tool_result_error.rbs +2 -0
- data/sig/anthropic/models/beta/beta_advisor_tool_result_error_param.rbs +2 -0
- data/sig/anthropic/models/beta/beta_managed_agents_custom_tool_input_schema.rbs +9 -25
- data/sig/anthropic/models/beta/beta_tool_search_tool_result_error_param.rbs +7 -2
- data/sig/anthropic/models/tool_search_tool_result_error_param.rbs +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a58b5713db9e1ef7b8abebd0a189176ddc46d1b28d04b8f072a32331a9d6be95
|
|
4
|
+
data.tar.gz: dc427a2dd0b75d47dbbb8e2b71539e4f2de1ffd5844ac96a77ca0a38d8588de0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40c8be3263202fb1abec20744d6448cd395d28a778c0375f104059038f26adc03f001e40e286afb5cb5c0d11045ed5e5fce106c96f9fbad46207c0331e1cec36
|
|
7
|
+
data.tar.gz: 928a92d2e651601606d99d1bca07e5b46e601068b715478a53458d6a788a12791672df06bd80153efbc78cd9964fd2b18dc81c578b3c038a1bb59337279abd31
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.46.0 (2026-06-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.45.0...v1.46.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.45.0...v1.46.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** small updates to Managed Agents types ([7edca7a](https://github.com/anthropics/anthropic-sdk-ruby/commit/7edca7a42f521b53085fef8360dcda9bad974748))
|
|
10
|
+
|
|
3
11
|
## 1.45.0 (2026-06-05)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.44.0...v1.45.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.44.0...v1.45.0)
|
data/README.md
CHANGED
|
@@ -18,13 +18,13 @@ module Anthropic
|
|
|
18
18
|
required :model, union: -> { Anthropic::Beta::AgentCreateParams::Model }
|
|
19
19
|
|
|
20
20
|
# @!attribute name
|
|
21
|
-
# Human-readable name for the agent.
|
|
21
|
+
# Human-readable name for the agent.
|
|
22
22
|
#
|
|
23
23
|
# @return [String]
|
|
24
24
|
required :name, String
|
|
25
25
|
|
|
26
26
|
# @!attribute description
|
|
27
|
-
# Description of what the agent does.
|
|
27
|
+
# Description of what the agent does.
|
|
28
28
|
#
|
|
29
29
|
# @return [String, nil]
|
|
30
30
|
optional :description, String, nil?: true
|
|
@@ -52,14 +52,14 @@ module Anthropic
|
|
|
52
52
|
optional :multiagent, -> { Anthropic::Beta::BetaManagedAgentsMultiagentParams }, nil?: true
|
|
53
53
|
|
|
54
54
|
# @!attribute skills
|
|
55
|
-
# Skills available to the agent.
|
|
55
|
+
# Skills available to the agent.
|
|
56
56
|
#
|
|
57
57
|
# @return [Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>, nil]
|
|
58
58
|
optional :skills,
|
|
59
59
|
-> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaManagedAgentsSkillParams] }
|
|
60
60
|
|
|
61
61
|
# @!attribute system_
|
|
62
|
-
# System prompt for the agent.
|
|
62
|
+
# System prompt for the agent.
|
|
63
63
|
#
|
|
64
64
|
# @return [String, nil]
|
|
65
65
|
optional :system_, String, api_name: :system, nil?: true
|
|
@@ -84,9 +84,9 @@ module Anthropic
|
|
|
84
84
|
#
|
|
85
85
|
# @param model [Symbol, String, Anthropic::Models::Beta::BetaManagedAgentsModel, Anthropic::Models::Beta::BetaManagedAgentsModelConfigParams] Model identifier. Accepts the [model string](https://platform.claude.com/docs/en
|
|
86
86
|
#
|
|
87
|
-
# @param name [String] Human-readable name for the agent.
|
|
87
|
+
# @param name [String] Human-readable name for the agent.
|
|
88
88
|
#
|
|
89
|
-
# @param description [String, nil] Description of what the agent does.
|
|
89
|
+
# @param description [String, nil] Description of what the agent does.
|
|
90
90
|
#
|
|
91
91
|
# @param mcp_servers [Array<Anthropic::Models::Beta::BetaManagedAgentsURLMCPServerParams>] MCP servers this agent connects to. Maximum 20. Names must be unique within the
|
|
92
92
|
#
|
|
@@ -94,9 +94,9 @@ module Anthropic
|
|
|
94
94
|
#
|
|
95
95
|
# @param multiagent [Anthropic::Models::Beta::BetaManagedAgentsMultiagentParams, nil] A coordinator topology: the session's primary thread orchestrates work by spawni
|
|
96
96
|
#
|
|
97
|
-
# @param skills [Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>] Skills available to the agent.
|
|
97
|
+
# @param skills [Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>] Skills available to the agent.
|
|
98
98
|
#
|
|
99
|
-
# @param system_ [String, nil] System prompt for the agent.
|
|
99
|
+
# @param system_ [String, nil] System prompt for the agent.
|
|
100
100
|
#
|
|
101
101
|
# @param tools [Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>] Tool configurations available to the agent. Maximum of 128 tools across all tool
|
|
102
102
|
#
|
|
@@ -22,8 +22,7 @@ module Anthropic
|
|
|
22
22
|
required :version, Integer
|
|
23
23
|
|
|
24
24
|
# @!attribute description
|
|
25
|
-
# Description.
|
|
26
|
-
# to clear.
|
|
25
|
+
# Description. Omit to preserve; send empty string or null to clear.
|
|
27
26
|
#
|
|
28
27
|
# @return [String, nil]
|
|
29
28
|
optional :description, String, nil?: true
|
|
@@ -64,14 +63,13 @@ module Anthropic
|
|
|
64
63
|
optional :multiagent, -> { Anthropic::Beta::BetaManagedAgentsMultiagentParams }, nil?: true
|
|
65
64
|
|
|
66
65
|
# @!attribute name
|
|
67
|
-
# Human-readable name.
|
|
66
|
+
# Human-readable name. Must be non-empty. Omit to preserve. Cannot be cleared.
|
|
68
67
|
#
|
|
69
68
|
# @return [String, nil]
|
|
70
69
|
optional :name, String
|
|
71
70
|
|
|
72
71
|
# @!attribute skills
|
|
73
72
|
# Skills. Full replacement. Omit to preserve; send empty array or null to clear.
|
|
74
|
-
# Maximum 20.
|
|
75
73
|
#
|
|
76
74
|
# @return [Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>, nil]
|
|
77
75
|
optional :skills,
|
|
@@ -81,8 +79,7 @@ module Anthropic
|
|
|
81
79
|
nil?: true
|
|
82
80
|
|
|
83
81
|
# @!attribute system_
|
|
84
|
-
# System prompt.
|
|
85
|
-
# null to clear.
|
|
82
|
+
# System prompt. Omit to preserve; send empty string or null to clear.
|
|
86
83
|
#
|
|
87
84
|
# @return [String, nil]
|
|
88
85
|
optional :system_, String, api_name: :system, nil?: true
|
|
@@ -111,7 +108,7 @@ module Anthropic
|
|
|
111
108
|
#
|
|
112
109
|
# @param version [Integer] The agent's current version, used to prevent concurrent overwrites. Obtain this
|
|
113
110
|
#
|
|
114
|
-
# @param description [String, nil] Description.
|
|
111
|
+
# @param description [String, nil] Description. Omit to preserve; send empty string or null to clear.
|
|
115
112
|
#
|
|
116
113
|
# @param mcp_servers [Array<Anthropic::Models::Beta::BetaManagedAgentsURLMCPServerParams>, nil] MCP servers. Full replacement. Omit to preserve; send empty array or null to cle
|
|
117
114
|
#
|
|
@@ -121,11 +118,11 @@ module Anthropic
|
|
|
121
118
|
#
|
|
122
119
|
# @param multiagent [Anthropic::Models::Beta::BetaManagedAgentsMultiagentParams, nil] A coordinator topology: the session's primary thread orchestrates work by spawni
|
|
123
120
|
#
|
|
124
|
-
# @param name [String] Human-readable name.
|
|
121
|
+
# @param name [String] Human-readable name. Must be non-empty. Omit to preserve. Cannot be cleared.
|
|
125
122
|
#
|
|
126
|
-
# @param skills [Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>, nil] Skills. Full replacement. Omit to preserve; send empty array or null to clear.
|
|
123
|
+
# @param skills [Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>, nil] Skills. Full replacement. Omit to preserve; send empty array or null to clear.
|
|
127
124
|
#
|
|
128
|
-
# @param system_ [String, nil] System prompt.
|
|
125
|
+
# @param system_ [String, nil] System prompt. Omit to preserve; send empty string or null to clear.
|
|
129
126
|
#
|
|
130
127
|
# @param tools [Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>, nil] Tool configurations available to the agent. Full replacement. Omit to preserve;
|
|
131
128
|
#
|
|
@@ -53,6 +53,18 @@ module Anthropic
|
|
|
53
53
|
# @return [Boolean, nil]
|
|
54
54
|
optional :defer_loading, Anthropic::Internal::Type::Boolean
|
|
55
55
|
|
|
56
|
+
# @!attribute max_tokens
|
|
57
|
+
# Bounds the advisor's total output (thinking + text) per call. When the advisor
|
|
58
|
+
# hits this cap, the returned advisor_result or advisor_redacted_result block
|
|
59
|
+
# carries stop_reason='max_tokens', and a truncation note is appended to the
|
|
60
|
+
# advice text the worker model sees (inside the encrypted blob in redacted mode).
|
|
61
|
+
# When set, the server also emits a remaining-tokens budget block in the advisor's
|
|
62
|
+
# prompt so the advisor self-shapes toward the cap. When omitted, the advisor
|
|
63
|
+
# model's default output cap applies and no budget block is emitted.
|
|
64
|
+
#
|
|
65
|
+
# @return [Integer, nil]
|
|
66
|
+
optional :max_tokens, Integer, nil?: true
|
|
67
|
+
|
|
56
68
|
# @!attribute max_uses
|
|
57
69
|
# Maximum number of times the tool can be used in the API request.
|
|
58
70
|
#
|
|
@@ -65,7 +77,7 @@ module Anthropic
|
|
|
65
77
|
# @return [Boolean, nil]
|
|
66
78
|
optional :strict, Anthropic::Internal::Type::Boolean
|
|
67
79
|
|
|
68
|
-
# @!method initialize(model:, allowed_callers: nil, cache_control: nil, caching: nil, defer_loading: nil, max_uses: nil, strict: nil, name: :advisor, type: :advisor_20260301)
|
|
80
|
+
# @!method initialize(model:, allowed_callers: nil, cache_control: nil, caching: nil, defer_loading: nil, max_tokens: nil, max_uses: nil, strict: nil, name: :advisor, type: :advisor_20260301)
|
|
69
81
|
# Some parameter documentations has been truncated, see
|
|
70
82
|
# {Anthropic::Models::Beta::BetaAdvisorTool20260301} for more details.
|
|
71
83
|
#
|
|
@@ -79,6 +91,8 @@ module Anthropic
|
|
|
79
91
|
#
|
|
80
92
|
# @param defer_loading [Boolean] If true, tool will not be included in initial system prompt. Only loaded when re
|
|
81
93
|
#
|
|
94
|
+
# @param max_tokens [Integer, nil] Bounds the advisor's total output (thinking + text) per call. When the advisor h
|
|
95
|
+
#
|
|
82
96
|
# @param max_uses [Integer, nil] Maximum number of times the tool can be used in the API request.
|
|
83
97
|
#
|
|
84
98
|
# @param strict [Boolean] When true, guarantees schema validation on tool names and inputs
|
|
@@ -4,8 +4,12 @@ module Anthropic
|
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaManagedAgentsCustomToolInputSchema < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, :object]
|
|
10
|
+
required :type, const: :object
|
|
11
|
+
|
|
7
12
|
# @!attribute properties
|
|
8
|
-
# JSON Schema properties defining the tool's input parameters.
|
|
9
13
|
#
|
|
10
14
|
# @return [Hash{Symbol=>Object}, nil]
|
|
11
15
|
optional :properties,
|
|
@@ -13,37 +17,16 @@ module Anthropic
|
|
|
13
17
|
nil?: true
|
|
14
18
|
|
|
15
19
|
# @!attribute required
|
|
16
|
-
# List of required property names.
|
|
17
20
|
#
|
|
18
21
|
# @return [Array<String>, nil]
|
|
19
|
-
optional :required, Anthropic::Internal::Type::ArrayOf[String]
|
|
20
|
-
|
|
21
|
-
# @!attribute type
|
|
22
|
-
# Must be 'object' for tool input schemas.
|
|
23
|
-
#
|
|
24
|
-
# @return [Symbol, Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema::Type, nil]
|
|
25
|
-
optional :type, enum: -> { Anthropic::Beta::BetaManagedAgentsCustomToolInputSchema::Type }
|
|
22
|
+
optional :required, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
26
23
|
|
|
27
|
-
# @!method initialize(properties: nil, required: nil, type:
|
|
24
|
+
# @!method initialize(properties: nil, required: nil, type: :object)
|
|
28
25
|
# JSON Schema for custom tool input parameters.
|
|
29
26
|
#
|
|
30
|
-
# @param properties [Hash{Symbol=>Object}, nil]
|
|
31
|
-
#
|
|
32
|
-
# @param
|
|
33
|
-
#
|
|
34
|
-
# @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema::Type] Must be 'object' for tool input schemas.
|
|
35
|
-
|
|
36
|
-
# Must be 'object' for tool input schemas.
|
|
37
|
-
#
|
|
38
|
-
# @see Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema#type
|
|
39
|
-
module Type
|
|
40
|
-
extend Anthropic::Internal::Type::Enum
|
|
41
|
-
|
|
42
|
-
OBJECT = :object
|
|
43
|
-
|
|
44
|
-
# @!method self.values
|
|
45
|
-
# @return [Array<Symbol>]
|
|
46
|
-
end
|
|
27
|
+
# @param properties [Hash{Symbol=>Object}, nil]
|
|
28
|
+
# @param required [Array<String>, nil]
|
|
29
|
+
# @param type [Symbol, :object]
|
|
47
30
|
end
|
|
48
31
|
end
|
|
49
32
|
|
|
@@ -14,8 +14,14 @@ module Anthropic
|
|
|
14
14
|
# @return [Symbol, :tool_search_tool_result_error]
|
|
15
15
|
required :type, const: :tool_search_tool_result_error
|
|
16
16
|
|
|
17
|
-
# @!
|
|
17
|
+
# @!attribute error_message
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :error_message, String, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!method initialize(error_code:, error_message: nil, type: :tool_search_tool_result_error)
|
|
18
23
|
# @param error_code [Symbol, Anthropic::Models::Beta::BetaToolSearchToolResultErrorParam::ErrorCode]
|
|
24
|
+
# @param error_message [String, nil]
|
|
19
25
|
# @param type [Symbol, :tool_search_tool_result_error]
|
|
20
26
|
|
|
21
27
|
# @see Anthropic::Models::Beta::BetaToolSearchToolResultErrorParam#error_code
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionArchivedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.archived")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionCreatedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.created")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionDeletedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.deleted")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionIdledEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.idled")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionOutcomeEvaluationEndedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.outcome_evaluation_ended")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionPendingEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.pending")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionRequiresActionEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.requires_action")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionRunningEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.running")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionStatusIdledEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.status_idled")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionStatusRescheduledEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.status_rescheduled")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionStatusRunStartedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.status_run_started")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionStatusTerminatedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.status_terminated")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionThreadCreatedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.thread_created")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionThreadIdledEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.thread_idled")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookSessionThreadTerminatedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.thread_terminated")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookVaultArchivedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the vault that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"vault.archived")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the vault that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookVaultCreatedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the vault that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -26,7 +26,7 @@ module Anthropic
|
|
|
26
26
|
required :workspace_id, String
|
|
27
27
|
|
|
28
28
|
# @!method initialize(id:, organization_id:, workspace_id:, type: :"vault.created")
|
|
29
|
-
# @param id [String] ID of the
|
|
29
|
+
# @param id [String] ID of the vault that triggered the event.
|
|
30
30
|
#
|
|
31
31
|
# @param organization_id [String]
|
|
32
32
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookVaultCredentialArchivedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the vault credential that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -32,7 +32,7 @@ module Anthropic
|
|
|
32
32
|
required :workspace_id, String
|
|
33
33
|
|
|
34
34
|
# @!method initialize(id:, organization_id:, vault_id:, workspace_id:, type: :"vault_credential.archived")
|
|
35
|
-
# @param id [String] ID of the
|
|
35
|
+
# @param id [String] ID of the vault credential that triggered the event.
|
|
36
36
|
#
|
|
37
37
|
# @param organization_id [String]
|
|
38
38
|
#
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaWebhookVaultCredentialCreatedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
# ID of the
|
|
8
|
+
# ID of the vault credential that triggered the event.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
@@ -32,7 +32,7 @@ module Anthropic
|
|
|
32
32
|
required :workspace_id, String
|
|
33
33
|
|
|
34
34
|
# @!method initialize(id:, organization_id:, vault_id:, workspace_id:, type: :"vault_credential.created")
|
|
35
|
-
# @param id [String] ID of the
|
|
35
|
+
# @param id [String] ID of the vault credential that triggered the event.
|
|
36
36
|
#
|
|
37
37
|
# @param organization_id [String]
|
|
38
38
|
#
|