Feature hasn't been suggested before.
Describe the enhancement you want to request
For MCP tools, the optional outputSchema provides information about the output to expect from the tool. But opencode is not including this in context, only the tool description. According to the MCP spec:
Providing an output schema helps clients and LLMs understand and properly handle structured tool outputs by:
...
Guiding clients and LLMs to properly parse and utilize the returned data
so I think the information from tool's outputSchema should be included in the LLM context in some way.
Feature hasn't been suggested before.
Describe the enhancement you want to request
For MCP tools, the optional outputSchema provides information about the output to expect from the tool. But opencode is not including this in context, only the tool description. According to the MCP spec:
so I think the information from tool's outputSchema should be included in the LLM context in some way.