Skip to content
Prev Previous commit
Next Next commit
feat(harness): sample read arguments strictly where the provider can
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Loading branch information
sanchitrk and claude committed Oct 10, 2026
commit 03653c084a0c5b227e04e1ba716be3966bbcf68d
1 change: 1 addition & 0 deletions packages/harness/src/plugin/builtin/tool/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const readDef = Tool.define({
promptSnippet: "Read file contents",
promptGuidelines: ["Use read to examine files instead of cat or sed."],
parameters: ReadParams,
constrainedSampling: { type: "json_schema", strict: "prefer" },
success: ReadSuccess,
failure: ReadFailed,
encodeContent: (success) =>
Expand Down