A Web Screenshot plugin for OpenAgents.
This Web Screenshot Plugin utilize Restpack Screenshot API that can capture screenshots of live web pages and deliver the results in JSON Format.
Include the library with Go get:
go get github.com/extism/go-pdk
You can find the reference documentation for this library on pkg.go.dev.
Run the plugin using this command :
extism call plugin.wasm run --wasi --allow-host="restpack.io" --input="WEB_URL"
Note : "WEB_URL" - The URL of web page, including the protocol that you want to capture.