Class: Anthropic::Models::Beta::BetaBrowserReadPageInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaBrowserReadPageInput
- Defined in:
- lib/anthropic/models/beta/beta_browser_read_page_input.rb,
sig/anthropic/models/beta/beta_browser_read_page_input.rbs
Instance Attribute Summary collapse
-
#depth ⇒ Integer?
Maximum tree depth.
-
#filter ⇒ Symbol, ...
Which elements to include.
-
#ref ⇒ String?
Element reference to read a subtree from.
-
#tab_id ⇒ String?
Tab to act on.
Instance Method Summary collapse
-
#initialize ⇒ BetaBrowserReadPageInput
constructor
A new instance of BetaBrowserReadPageInput.
- #to_hash ⇒ { depth: Integer?, filter: Anthropic::Models::Beta::beta_browser_read_page_filter?, ref: String?, tab_id: String? }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ BetaBrowserReadPageInput
Returns a new instance of BetaBrowserReadPageInput.
23 24 25 26 27 28 |
# File 'sig/anthropic/models/beta/beta_browser_read_page_input.rbs', line 23
def initialize: (
?depth: Integer?,
?filter: Anthropic::Models::Beta::beta_browser_read_page_filter?,
?ref: String?,
?tab_id: String?
) -> void
|
Instance Attribute Details
#depth ⇒ Integer?
Maximum tree depth. Default 15.
11 |
# File 'lib/anthropic/models/beta/beta_browser_read_page_input.rb', line 11 optional :depth, Integer, nil?: true |
#filter ⇒ Symbol, ...
Which elements to include. Omitted: every visible element. "interactive": interactive elements only. "all": additionally includes off-viewport elements.
18 |
# File 'lib/anthropic/models/beta/beta_browser_read_page_input.rb', line 18 optional :filter, enum: -> { Anthropic::Beta::BetaBrowserReadPageFilter }, nil?: true |
#ref ⇒ String?
Element reference to read a subtree from. Omit to read from the page root.
24 |
# File 'lib/anthropic/models/beta/beta_browser_read_page_input.rb', line 24 optional :ref, String, nil?: true |
#tab_id ⇒ String?
Tab to act on. Defaults to the active tab when omitted.
30 |
# File 'lib/anthropic/models/beta/beta_browser_read_page_input.rb', line 30 optional :tab_id, String, nil?: true |
Instance Method Details
#to_hash ⇒ { depth: Integer?, filter: Anthropic::Models::Beta::beta_browser_read_page_filter?, ref: String?, tab_id: String? }
30 31 32 33 34 35 |
# File 'sig/anthropic/models/beta/beta_browser_read_page_input.rbs', line 30
def to_hash: -> {
depth: Integer?,
filter: Anthropic::Models::Beta::beta_browser_read_page_filter?,
ref: String?,
tab_id: String?
}
|