Class: Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool
- Defined in:
- lib/telnyx/models/ai/inference_embedding.rb
Defined Under Namespace
Modules: Type Classes: Position
Instance Attribute Summary collapse
-
#id ⇒ String
Caller-supplied unique identifier for this node within the flow.
-
#name ⇒ String?
Optional human-readable label, displayed in authoring UIs.
-
#position ⇒ Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool::Position?
Optional canvas coordinates used by authoring UIs to lay out the graph.
-
#shared_tool_id ⇒ String
ID of the single shared (org-level) tool this node executes.
-
#tool ⇒ Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>?
Full tool definition resolved from ‘shared_tool_id` server-side.
-
#type ⇒ Symbol, ...
Node kind discriminator.
Instance Method Summary collapse
-
#initialize(x:, y_:) ⇒ Object
constructor
Optional canvas coordinates used by authoring UIs to lay out the graph.
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(x:, y_:) ⇒ Object
Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored by the runtime; round-trips so frontends can persist graph layout across reloads.
|
|
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 610
|
Instance Attribute Details
#id ⇒ String
Caller-supplied unique identifier for this node within the flow.
569 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 569 required :id, String |
#name ⇒ String?
Optional human-readable label, displayed in authoring UIs.
586 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 586 optional :name, String |
#position ⇒ Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool::Position?
Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored by the runtime; round-trips so frontends can persist graph layout across reloads.
594 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 594 optional :position, -> { Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Tool::Position } |
#shared_tool_id ⇒ String
ID of the single shared (org-level) tool this node executes. When the flow reaches this node the tool runs as a deliberate step (no LLM turn); its outgoing ‘tool_result` edges then route on the outcome. Arguments are filled from the conversation’s dynamic variables by name — a dynamic variable whose name matches one of the tool’s parameters supplies that argument. Cross-validated against the org’s shared tools on write.
580 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 580 required :shared_tool_id, String |
#tool ⇒ Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Invite, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>?
Full tool definition resolved from ‘shared_tool_id` server-side. Populated on responses so clients can render the node without a follow-up fetch. Ignored on input — set `shared_tool_id`.
602 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 602 optional :tool, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::AssistantTool] } |