Skip to content

Link each movie, author and review a tool returns to its resource - #51

Merged
stphnwlsh merged 8 commits into
mainfrom
feature/tool-resource-links
Nov 6, 2026
Merged

stphnwlsh merged 8 commits into
mainfrom
feature/tool-resource-links

Conversation

@stphnwlsh

@stphnwlsh stphnwlsh commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Tools now return a resource_link block for each movie, author or review alongside their structured content, so a client can open the item as a resource. Links use the existing movies://, authors:// and reviews:// templates, the item's title or name, and application/json. structuredContent and outputSchema don't change.

ResourceLinkFilter adds them in one place, because a tool that returns a typed result can't add a content block itself. In the Inspector the links appear under Resource Links on a tool result, and expanding one reads the resource.

Related issues

None.

Type of change

  • Bug fix
  • New feature
  • Breaking change (the generated solution or template parameters change in a way existing users will notice)
  • Refactoring or clean-up
  • Documentation
  • Build, pipeline or dependency update

Shared layers

  • This only touches the Presentation layer of this template.
  • This touches the Application or Infrastructure layers, tests, pipeline or repository setup, so it needs to be carried across all five templates.

Checklist

  • dotnet build and dotnet test pass locally with no warnings.
  • I added or updated tests, and line coverage stays at or above 95%.
  • I updated the README or docs where behaviour changed.
  • If this changes how we do something, I updated the matching skill in .agents/skills.
  • I checked the template still installs and creates a working solution (see CONTRIBUTING.md).

@stphnwlsh stphnwlsh self-assigned this Nov 6, 2026
@github-actions github-actions Bot added the enhancement New feature or request label Nov 6, 2026
Base automatically changed from fix/portable-nullable-schemas to main November 6, 2026 15:51
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Build Pipeline

✅ Ready to merge. Every stage passed.

Stage Result Details
Build 🟢 Passed Version 2026.11.06.194-pr-51 · Template package 236 KB
Test 🟢 Passed 257 passed · 0 failed · 0 skipped · Template installs, builds and passes its tests
Coverage 🟢 Passed 100% (860 of 860 lines) · Needs 95%
Static Analysis 🟢 Passed No open CodeQL alerts
Dependency Review 🟢 Passed 0 vulnerable packages · 0 licence problems
Container Scan 🟢 Passed Image starts and answers · No open Trivy alerts

Commit a2a9dc0 · Full run

@stphnwlsh
stphnwlsh merged commit a51432f into main Nov 6, 2026
13 checks passed
@stphnwlsh
stphnwlsh deleted the feature/tool-resource-links branch November 6, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant