pub struct WorkflowAgentRequest {
pub execution_token: String,
pub opts: WorkflowAgentOptions,
pub prompt: String,
pub workflow_run_id: String,
}Expand description
Parameters for one workflow-scoped subagent call.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§execution_token: StringOpaque token identifying the current workflow execution attempt.
opts: WorkflowAgentOptionsSubagent execution options.
prompt: StringPrompt to send to the subagent.
workflow_run_id: StringWorkflow run identifier that owns the subagent.
Trait Implementations§
Source§impl Clone for WorkflowAgentRequest
impl Clone for WorkflowAgentRequest
Source§impl Debug for WorkflowAgentRequest
impl Debug for WorkflowAgentRequest
Source§impl Default for WorkflowAgentRequest
impl Default for WorkflowAgentRequest
Source§impl<'de> Deserialize<'de> for WorkflowAgentRequest
impl<'de> Deserialize<'de> for WorkflowAgentRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorkflowAgentRequest
impl RefUnwindSafe for WorkflowAgentRequest
impl Send for WorkflowAgentRequest
impl Sync for WorkflowAgentRequest
impl Unpin for WorkflowAgentRequest
impl UnsafeUnpin for WorkflowAgentRequest
impl UnwindSafe for WorkflowAgentRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more