• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 20236691614
58%

Build:
DEFAULT BRANCH: main
Ran 15 Dec 2025 03:00PM UTC
Jobs 1
Files 404
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Dec 2025 02:57PM UTC coverage: 49.813% (-0.01%) from 49.824%
20236691614

push

github

web-flow
Composite Tools Support Structured Content (#3009)

Changes
Core Fix (pkg/vmcp/client/client.go):

Check result.StructuredContent before processing result.Content array
If StructuredContent is an object (map[string]any), use it directly as step output
Fall back to existing Content processing for text/image content
Test Helpers (test/integration/vmcp/helpers/backend.go):

Add StructuredHandler field to BackendTool for structured content responses
Add NewBackendToolWithStructuredResponse() constructor
Update CreateBackendServer to use mcp.NewToolResultStructuredOnly() when appropriate
Integration Tests (test/integration/vmcp/vmcp_integration_test.go):

TestVMCPServer_StructuredContent: Tests nested field access via {{.steps.X.output.field.nested}}
TestVMCPServer_DefaultResults_NestedStructure: Tests nested defaultResults fallback
Documentation:

docs/operator/virtualmcpcompositetooldefinition-guide.md: Added "Step Output Format" and "Numeric Values in Templates" sections
docs/operator/advanced-workflow-patterns.md: Added "Step Output Format" and "Numeric Comparisons" sections

---------

Signed-off-by: Jeremy Drouillard <jeremy@stacklok.com>

0 of 23 new or added lines in 2 files covered. (0.0%)

26 existing lines in 1 file now uncovered.

27361 of 54927 relevant lines covered (49.81%)

57.77 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
26.78
-0.47% pkg/vmcp/client/client.go
16
0.0
0.0% test/integration/vmcp/helpers/backend.go

Uncovered Existing Lines

Lines Coverage ∆ File
26
0.0
0.0% pkg/client/manager.go
Jobs
ID Job ID Ran Files Coverage
1 20236691614.1 15 Dec 2025 02:59PM UTC 404
49.81
GitHub Action Run
Source Files on build 20236691614
  • Tree
  • List 404
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20236691614
  • 027b1d63 on github
  • Prev Build on main (#20232209892)
  • Next Build on main (#20240936875)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc