pub struct SetDeploymentSecretsTool { /* private fields */ }Expand description
Tool to set environment variables and secrets on a deployment configuration.
SECURITY: Secret values are sent securely to the backend and stored encrypted. Values are NEVER included in tool responses - only key names are confirmed. For secrets, values are collected via terminal prompt — the LLM never sees them.
Implementations§
Source§impl SetDeploymentSecretsTool
impl SetDeploymentSecretsTool
Sourcepub fn with_context(ctx: ExecutionContext) -> Self
pub fn with_context(ctx: ExecutionContext) -> Self
Create with explicit execution context
Trait Implementations§
Source§impl Clone for SetDeploymentSecretsTool
impl Clone for SetDeploymentSecretsTool
Source§fn clone(&self) -> SetDeploymentSecretsTool
fn clone(&self) -> SetDeploymentSecretsTool
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 SetDeploymentSecretsTool
impl Debug for SetDeploymentSecretsTool
Source§impl Default for SetDeploymentSecretsTool
impl Default for SetDeploymentSecretsTool
Source§impl Tool for SetDeploymentSecretsTool
impl Tool for SetDeploymentSecretsTool
Source§const NAME: &'static str = "set_deployment_secrets"
const NAME: &'static str = "set_deployment_secrets"
The name of the tool. This name should be unique.
Source§async fn definition(&self, _prompt: String) -> ToolDefinition
async fn definition(&self, _prompt: String) -> ToolDefinition
A method returning the tool definition. The user prompt can be used to
tailor the definition to the specific use case.
Auto Trait Implementations§
impl Freeze for SetDeploymentSecretsTool
impl RefUnwindSafe for SetDeploymentSecretsTool
impl Send for SetDeploymentSecretsTool
impl Sync for SetDeploymentSecretsTool
impl Unpin for SetDeploymentSecretsTool
impl UnsafeUnpin for SetDeploymentSecretsTool
impl UnwindSafe for SetDeploymentSecretsTool
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.