Compare commits

...

4 commits

Author SHA1 Message Date
Jeremiah Lowin
38af6228f4 Fix merge conflicts in context.py 2025-11-02 16:48:33 -05:00
William Easton
a83824c04d
Merge branch 'main' into claude/issue-2245-20251024-2225 2025-10-24 18:16:34 -05:00
Jeremiah Lowin
7de74c05cb Update docs 2025-10-24 19:16:25 -04:00
claude[bot]
63add18970 Add list_resources, list_prompts, and get_prompt methods to Context
- Add Context.list_resources() to list all available resources
- Add Context.list_prompts() to list all available prompts
- Add Context.get_prompt() to get a specific prompt with arguments
- Update ToolInjectionMiddleware to use new Context methods instead of creating temporary Client instances
- Remove unused Client and FastMCPTransport imports from tool_injection.py

This improves API consistency by allowing middleware/tools to use Context methods directly without needing to create temporary Client instances.

Fixes #2245

Co-authored-by: William Easton <strawgate@users.noreply.github.com>
2025-10-24 22:34:45 +00:00

Diff content is not available