redhat-et / redhat-et/docsclaw
Generic fetch_resource tool with configurable backend URL
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_resourcetool with configurable base URL viaagent-config.yaml - Backward-compatible with existing
fetch_documentconfigurations - 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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