redhat-et / redhat-et/docsclaw

Generic fetch_resource tool with configurable backend URL

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2
Forks
1
Avg merge
6h 9m
Merged PRs (30d)
1

Description

Summary

Replace the current fetch_document tool with a generic fetch_resource tool that accepts a configurable backend URL. This allows fetching from any HTTP service, not just the document service.

Motivation

Currently fetch_document is hardcoded to a specific document service endpoint. A generic tool would make DocsClaw useful for any backend — APIs, search services, knowledge bases, etc.

Acceptance criteria

  • New fetch_resource tool with configurable base URL via agent-config.yaml
  • Backward-compatible with existing fetch_document configurations
  • URL validation and SSRF protection preserved
  • Documentation updated

From roadmap: docs/slides/docsclaw-intro.html, slide 6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing fetch_document tool and its configuration handling, then review agent-config.yaml and the roadmap reference in docs/slides/docsclaw-intro.html. Confirm how backward compatibility, URL validation, and SSRF protection currently work; done means fetch_resource supports configurable backend URLs, existing configurations still work, security behavior is preserved, and documentation is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend, documentation, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.