feat(tool): markdown format in output web_fetch tool

This commit is contained in:
afjcjsbx
2026-03-15 22:12:03 +01:00
parent f2addff099
commit d5c2bc538a
14 changed files with 769 additions and 39 deletions
+1
View File
@@ -694,6 +694,7 @@ type WebToolsConfig struct {
// For authenticated proxies, prefer HTTP_PROXY/HTTPS_PROXY env vars instead of embedding credentials in config.
Proxy string `json:"proxy,omitempty" env:"PICOCLAW_TOOLS_WEB_PROXY"`
FetchLimitBytes int64 `json:"fetch_limit_bytes,omitempty" env:"PICOCLAW_TOOLS_WEB_FETCH_LIMIT_BYTES"`
Format string `json:"format,omitempty" env:"PICOCLAW_TOOLS_WEB_FORMAT"`
}
type CronToolsConfig struct {
+1
View File
@@ -412,6 +412,7 @@ func DefaultConfig() *Config {
},
Proxy: "",
FetchLimitBytes: 10 * 1024 * 1024, // 10MB by default
Format: "plaintext",
Brave: BraveConfig{
Enabled: false,
APIKey: "",