Files
oh-my-pi/packages
Chris WatsonandGitHub da7eb2db83 fix(mcp): normalize object schemas by adding empty properties (#19)
Some MCP servers (e.g., Pencil) return tool schemas with just
{"type": "object"} without a "properties" field. While this is
valid JSON Schema, some LLM providers reject it with errors like:

  Error: Invalid schema for function 'mcp_pencil_get_style_guide_tags':
  In context=(), object schema missing properties.

This fix normalizes such schemas by adding an empty properties object
when missing, ensuring compatibility with stricter providers.
2026-02-11 08:04:01 +01:00
..
2026-02-10 22:17:45 +01:00
2026-02-10 22:17:45 +01:00
2026-02-10 22:17:45 +01:00
2026-02-10 22:17:45 +01:00
2026-02-10 22:17:45 +01:00
2026-02-10 22:17:45 +01:00