Document MCP Code Execution write support #41852
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.47) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 324 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.346
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #41852"
general
weight: 0.35
joepeeples
<!-- dd-meta {"pullId":"00000000-0000-0000-0000-000000000000","source":"chat","resourceId":"8ea04c27-d564-4f31-b197-81190b27aba3","workflowId":"1b4c569a-360b-4713-9eeb-56ebab055a57","codeChangeId":"1b4c569a-360b-4713-9eeb-56ebab055a57","sourceType":"code_channel"} -->
What does this PR do? What is the motivation?
Updates the Code Execution guide, MCP Server Tools reference, and setup toolset list for generally available write support. Clarifies that the default
coretoolset includes all three code execution tools andtoolsets=code-execselects only those tools. Usescode-execfor the toolset andexecute_codefor the individual read-only tool throughout. Documents SDK operation lookup, organization opt-in, permissions and reauthorization, supported resource limits, sandbox boundaries, and safe retries after partial failures. Adds monitor and case examples without Preview enrollment language.Merge readiness
AI assistance
Used Bits Code to draft the documentation changes and run style and structural checks.
For Datadog employees:
<name>/<description>convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.Additional notes
PM confirmation requested before merge:
mcp_writepermission name.execute_code_writetool name.Validation:
execute_codetoolset labels and query parameters; none remain.---
PR by Bits - View session in Datadog • Open in Slack
Comment @datadog to request changes