Feature hasn't been suggested before.
Describe the enhancement you want to request
Add a built-in open tool that lets an agent surface a local file, folder, or http(s) URL to the user through the operating system's default handler.
This is useful when an agent produces a human-facing artifact and needs to show it without inventing platform-specific shell commands. Examples include opening a generated HTML report, revealing a downloaded file in the file manager, or opening a local dev URL after startup.
Suggested behavior:
- support local paths,
file:// URLs, and http(s) URLs
- resolve relative local paths from the project directory
- refuse unsupported schemes
- ask for an
open permission before launching the OS handler
- use platform-native launchers (
rundll32/Explorer, open, xdg-open)
- return structured metadata for delivered/not-delivered status
Feature hasn't been suggested before.
Describe the enhancement you want to request
Add a built-in
opentool that lets an agent surface a local file, folder, or http(s) URL to the user through the operating system's default handler.This is useful when an agent produces a human-facing artifact and needs to show it without inventing platform-specific shell commands. Examples include opening a generated HTML report, revealing a downloaded file in the file manager, or opening a local dev URL after startup.
Suggested behavior:
file://URLs, andhttp(s)URLsopenpermission before launching the OS handlerrundll32/Explorer,open,xdg-open)