Validate a Microsoft Foundry hosted agent
Treat the slash-command input as free-form validation input:
Use its
agentPath, or the current working directory when none is supplied. PreserverulesFileand other input.Load the
microsoft-foundryskill and followfoundry-agent/validate/validate.md. PassagentPathas the only target context; the canonical workflow selects and validates one hosted agent.If the workflow returns
no-hosted-agent, ask once for a direct path and retry. Stop if the user provides no path or the retry finds no agent.When the workflow returns a JSON/Markdown report pair, open exactly one
hosted-agent-validation-reportcanvas with the returned JSON path:{ "report": "<absolute or workspace-relative JSON report path>" }Derive a stable instance ID from the report path. Use only alphanumeric characters,
.,_, or-; start with an alphanumeric character; and limit it to 128 characters.Do not open a canvas without a report pair.