pub struct SpawnSubagentTaskInput {Show 14 fields
pub task: String,
pub display_name: Option<String>,
pub role: Option<String>,
pub max_model_turns: Option<u32>,
pub timeout_secs: Option<u64>,
pub allowed_tools: Option<Vec<ToolName>>,
pub read_scope: Option<Vec<String>>,
pub write_scope: Option<Vec<String>>,
pub forbidden_paths: Option<Vec<String>>,
pub context_files: Option<Vec<String>>,
pub expected_output: Option<String>,
pub reasoning_effort: Option<String>,
pub workspace: Option<SubagentWorkspaceMode>,
pub worktree_base: Option<SubagentWorktreeBase>,
}Expand description
Provider-visible task item for spawn_subagents.
Fields§
§task: String§display_name: Option<String>§role: Option<String>§max_model_turns: Option<u32>§timeout_secs: Option<u64>§allowed_tools: Option<Vec<ToolName>>Exact registered Merry tool names the child may use. Names are copied
verbatim from the current tool list without provider namespace prefixes;
use run_process, never functions.run_process.
read_scope: Option<Vec<String>>§write_scope: Option<Vec<String>>§forbidden_paths: Option<Vec<String>>§context_files: Option<Vec<String>>§expected_output: Option<String>§reasoning_effort: Option<String>§workspace: Option<SubagentWorkspaceMode>§worktree_base: Option<SubagentWorktreeBase>Trait Implementations§
Source§impl Clone for SpawnSubagentTaskInput
impl Clone for SpawnSubagentTaskInput
Source§impl Debug for SpawnSubagentTaskInput
impl Debug for SpawnSubagentTaskInput
Source§impl<'de> Deserialize<'de> for SpawnSubagentTaskInput
impl<'de> Deserialize<'de> for SpawnSubagentTaskInput
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
impl Eq for SpawnSubagentTaskInput
Source§impl JsonSchema for SpawnSubagentTaskInput
impl JsonSchema for SpawnSubagentTaskInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SpawnSubagentTaskInput
impl PartialEq for SpawnSubagentTaskInput
Source§impl Serialize for SpawnSubagentTaskInput
impl Serialize for SpawnSubagentTaskInput
impl StructuralPartialEq for SpawnSubagentTaskInput
Auto Trait Implementations§
impl Forget for SpawnSubagentTaskInput
impl Freeze for SpawnSubagentTaskInput
impl Move for SpawnSubagentTaskInput
impl RefUnwindSafe for SpawnSubagentTaskInput
impl Send for SpawnSubagentTaskInput
impl Sync for SpawnSubagentTaskInput
impl Unpin for SpawnSubagentTaskInput
impl UnsafeUnpin for SpawnSubagentTaskInput
impl UnwindSafe for SpawnSubagentTaskInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.