Approval-gated deployment
waiting_for_human, then continue it with a decision keyed by the pending call ID.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Copy focused Ruby patterns for tools, approvals, streaming, and bounded runs.
deploy = PhaseoAgentSdk.define_tool(
id: "deploy",
description: "Deploy the selected release",
require_approval: true,
execute: ->(input, runtime) { deployments.deploy(input) }
)
waiting_for_human, then continue it with a decision keyed by the pending call ID.
stream = agent.stream(input: prompt, client: client)
stream.text_stream.each { |delta| print delta }
result = stream.result
Was this page helpful?