pub struct AgentInput {
pub url: String,
pub mount_path: String,
}Expand description
Declarative external input fetched into the agent’s filesystem before invocation.
Each input is a URL that the provider must download and materialize at
mount_path so the agent can read it via the Read tool.
Provider behavior:
ClaudeCodeProvider(local) - downloads via reqwest into a per-invocation temp directory and rewritesmount_pathto the resolved local path.K8sEphemeralProvider- injects acurlimages/curlinitContainer that downloads each URL into a sharedemptyDir, mounted on the main container at the parent directory ofmount_path.
The mount_path must be an absolute path. Intermediate directories are
created automatically.
Fields§
§url: StringSource URL to download (HTTP/HTTPS, including signed S3/R2 URLs).
mount_path: StringAbsolute filesystem path where the file must be available inside the agent’s filesystem.
Implementations§
Trait Implementations§
Source§impl Clone for AgentInput
impl Clone for AgentInput
Source§fn clone(&self) -> AgentInput
fn clone(&self) -> AgentInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentInput
impl Debug for AgentInput
Source§impl<'de> Deserialize<'de> for AgentInput
impl<'de> Deserialize<'de> for AgentInput
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
Source§impl PartialEq for AgentInput
impl PartialEq for AgentInput
Source§impl Serialize for AgentInput
impl Serialize for AgentInput
impl Eq for AgentInput
impl StructuralPartialEq for AgentInput
Auto Trait Implementations§
impl Freeze for AgentInput
impl RefUnwindSafe for AgentInput
impl Send for AgentInput
impl Sync for AgentInput
impl Unpin for AgentInput
impl UnsafeUnpin for AgentInput
impl UnwindSafe for AgentInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.