Foundry agents deployed via PromptAgentDefinition have no Python runtime — only MCP tools are available. The doc generator agent needs real rendering capabilities (HTML templates, WeasyPrint PDF, ...