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

stacklok / toolhive / 20236691614 / 1
58%
main: 58%

Build:
DEFAULT BRANCH: main
Ran 15 Dec 2025 03:00PM UTC
Files 404
Run time 12s
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.1

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>

27361 of 54927 relevant lines covered (49.81%)

57.77 hits per line

Source Files on job 20236691614.1
  • Tree
  • List 404
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20236691614
  • 027b1d63 on github
  • Prev Job for on main (#20232209892.1)
  • Next Job for on main (#20240936875.1)
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