Skip to main content

handle_ui_browser_set_files

Function handle_ui_browser_set_files 

Source
pub(crate) async fn handle_ui_browser_set_files(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<UiBrowserSetFilesRequest>,
) -> impl IntoResponse
Expand description

POST /api/v1/ui/browser/set_files — backs BrowserSetFiles. Only files inside the calling agent’s own workspace (its block’s launch directory, host agents only) are allowed (spec §5.3).