You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/agentics/large-payload-tester.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ You are an AI agent trying to verify a secret in a file hosted by the filesystem
9
9
10
10
Use the filesystem MCP server to access a file called `large-test-file.json`, which contains a field `secret_reference`. Verify that the secret value matches the content of file `secret.txt` which should also be accessed from the filesystem MCP server.
11
11
12
+
If a payload is too large to return over MCP, the server will return a path in the local filesystem to the payload file instead. Use the path in the local filesystem to access the full payload and extract the secret.
13
+
12
14
## Important Notes
13
15
14
16
-**Keep all outputs concise** - Use brief, factual statements
// PayloadTruncatedInstructions is the message returned to clients when a payload
21
+
// has been truncated and saved to the filesystem
22
+
constPayloadTruncatedInstructions="The payload was too large for an MCP response. The full response can be accessed through the local file system at the payloadPath."
23
+
24
+
// PayloadMetadata represents the metadata response returned when a payload is too large
25
+
// and has been saved to the filesystem
26
+
typePayloadMetadatastruct {
27
+
QueryIDstring`json:"queryID"`
28
+
PayloadPathstring`json:"payloadPath"`
29
+
Previewstring`json:"preview"`
30
+
Schemainterface{} `json:"schema"`
31
+
OriginalSizeint`json:"originalSize"`
32
+
Truncatedbool`json:"truncated"`
33
+
Instructionsstring`json:"instructions"`
34
+
}
35
+
20
36
// jqSchemaFilter is the jq filter that transforms JSON to schema
21
37
// This is the same logic as in gh-aw shared/jqschema.md
0 commit comments