Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Prepare Azure environments for new workloads—subscriptions, networking, identity, and landing zones
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/services/functions/templates/recipes/sql/eval/python.md
1# sql Recipe - Python Eval23## MCP Template Validation45| Criteria | Expected | Status |6|----------|----------|--------|7| Template discovery | `functions_template_get(language: "python")` returns list | ✅ PASS |8| Filter by resource | `resource == "sql"` finds matches | ✅ PASS |9| Template scaffolded | `sql-trigger-python-azd` | ✅ PASS |10| Has trigger code | `@app.sql_trigger` decorator in output | ✅ PASS |11| Has IaC | `projectFiles[]` includes Bicep | ✅ PASS |12| Has RBAC | Appropriate role assignment | ✅ PASS |1314## Agent Behavior Validation1516```text171. Agent calls: functions_template_get(language: "python")182. Agent scans templateList.triggers[] descriptions and resource field193. Agent selects: template where resource == "sql" → sql-trigger-python-azd204. Agent calls: functions_template_get(language: "python", template: "sql-trigger-python-azd")215. Agent writes: functionFiles[] + projectFiles[]22```2324## Notes2526- Template names may vary - use `resource` field or `description` to match27- Never hardcode template names - always discover via list call first2829## Test Date30312026-04-223233## Verdict3435**PASS** - MCP template provides complete sql trigger with IaC, RBAC, and UAMI binding.36