Ui not rendering when trying to load widget using chatgpt apps sdk

Where are you getting this for the openai/outputTemplate? Is this what you are directly sending back in your tool definition? This should be the URI string that references a registered resource on your MCP server ie. ui://widget/some-resource-name.

If done correctly, you should see something along the lines of this for your actions on your App on ChatGPT: