% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shared__helpers.R
\name{.with_temporal}
\alias{.with_temporal}
\title{Apply Temporal Filtering for a Single Operation}
\usage{
.with_temporal(temporal, fn, agent = NULL)
}
\arguments{
\item{temporal}{Named list with temporal options (time_filter, after, before)}

\item{fn}{Function to run with temporal filtering applied}

\item{agent}{Optional asa_agent whose tools should receive the time filter}
}
\value{
Result of fn()
}
\description{
Internal helper that applies temporal filtering, runs a function,
and restores the original setting. Used by run_task() and run_task_batch().
}
\keyword{internal}
