@smartytalent/mcp-tools 0.1.33-dev.44 → 0.1.33-dev.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools.json +75 -15
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -17077,15 +17077,16 @@
|
|
|
17077
17077
|
"description": "File / video uploads for `file-upload` and `video-recording`\nquestion types. Empty for all other types. Files are uploaded\nvia presigned PUT to S3 first; this carries the resulting\nreferences.",
|
|
17078
17078
|
"items": {
|
|
17079
17079
|
"title": "AnswerFileSchema",
|
|
17080
|
-
"description": "File reference for upload-type answers.
|
|
17080
|
+
"description": "File reference for upload-type answers (file-upload /\nvideo-recording question types). The candidate UI obtains\n`fileKey` from POST /v1/guest/attempts/uploads, PUTs the file\nto S3 via the presigned URL returned alongside it, then\nincludes a reference like `{fileKey, fileName, contentType,\nsize}` here on the guest PATCH submission. Wire field names\nmatch what file:process and the eval Lambda's\n_enrich_answers_with_file_content expect (fileKey, not\nfileUrl - the S3 path is server-side only).",
|
|
17081
17081
|
"type": "object",
|
|
17082
17082
|
"properties": {
|
|
17083
|
-
"
|
|
17083
|
+
"fileKey": {
|
|
17084
17084
|
"type": "string",
|
|
17085
|
-
"description": "S3
|
|
17085
|
+
"description": "S3 key in the attempt bucket. Returned by POST /v1/guest/attempts/uploads as data.attributes.fileKey; FE echoes it here."
|
|
17086
17086
|
},
|
|
17087
|
-
"
|
|
17088
|
-
"type": "string"
|
|
17087
|
+
"fileName": {
|
|
17088
|
+
"type": "string",
|
|
17089
|
+
"description": "Candidate-supplied original file name (display + audit trail)."
|
|
17089
17090
|
},
|
|
17090
17091
|
"contentType": {
|
|
17091
17092
|
"type": "string"
|
|
@@ -17563,15 +17564,16 @@
|
|
|
17563
17564
|
"description": "File / video uploads for `file-upload` and `video-recording`\nquestion types. Empty for all other types. Files are uploaded\nvia presigned PUT to S3 first; this carries the resulting\nreferences.",
|
|
17564
17565
|
"items": {
|
|
17565
17566
|
"title": "AnswerFileSchema",
|
|
17566
|
-
"description": "File reference for upload-type answers.
|
|
17567
|
+
"description": "File reference for upload-type answers (file-upload /\nvideo-recording question types). The candidate UI obtains\n`fileKey` from POST /v1/guest/attempts/uploads, PUTs the file\nto S3 via the presigned URL returned alongside it, then\nincludes a reference like `{fileKey, fileName, contentType,\nsize}` here on the guest PATCH submission. Wire field names\nmatch what file:process and the eval Lambda's\n_enrich_answers_with_file_content expect (fileKey, not\nfileUrl - the S3 path is server-side only).",
|
|
17567
17568
|
"type": "object",
|
|
17568
17569
|
"properties": {
|
|
17569
|
-
"
|
|
17570
|
+
"fileKey": {
|
|
17570
17571
|
"type": "string",
|
|
17571
|
-
"description": "S3
|
|
17572
|
+
"description": "S3 key in the attempt bucket. Returned by POST /v1/guest/attempts/uploads as data.attributes.fileKey; FE echoes it here."
|
|
17572
17573
|
},
|
|
17573
|
-
"
|
|
17574
|
-
"type": "string"
|
|
17574
|
+
"fileName": {
|
|
17575
|
+
"type": "string",
|
|
17576
|
+
"description": "Candidate-supplied original file name (display + audit trail)."
|
|
17575
17577
|
},
|
|
17576
17578
|
"contentType": {
|
|
17577
17579
|
"type": "string"
|
|
@@ -17811,6 +17813,63 @@
|
|
|
17811
17813
|
"operationId": "reevaluateAttemptOptions"
|
|
17812
17814
|
}
|
|
17813
17815
|
},
|
|
17816
|
+
{
|
|
17817
|
+
"name": "upload_guest_attempt_file",
|
|
17818
|
+
"description": "Upload Attempt File (Guest)",
|
|
17819
|
+
"inputSchema": {
|
|
17820
|
+
"title": "UploadGuestAttemptFileRequestBody",
|
|
17821
|
+
"type": "object",
|
|
17822
|
+
"required": [
|
|
17823
|
+
"tenantId",
|
|
17824
|
+
"accessToken",
|
|
17825
|
+
"attemptId",
|
|
17826
|
+
"fileName",
|
|
17827
|
+
"contentType"
|
|
17828
|
+
],
|
|
17829
|
+
"properties": {
|
|
17830
|
+
"tenantId": {
|
|
17831
|
+
"type": "string"
|
|
17832
|
+
},
|
|
17833
|
+
"accessToken": {
|
|
17834
|
+
"type": "string",
|
|
17835
|
+
"description": "Per-attempt token (same value as meta.accessToken on other guest endpoints)."
|
|
17836
|
+
},
|
|
17837
|
+
"attemptId": {
|
|
17838
|
+
"type": "string"
|
|
17839
|
+
},
|
|
17840
|
+
"fileName": {
|
|
17841
|
+
"type": "string",
|
|
17842
|
+
"description": "Candidate-supplied file name (no path traversal). Used for the audit trail and extension fallback."
|
|
17843
|
+
},
|
|
17844
|
+
"contentType": {
|
|
17845
|
+
"type": "string",
|
|
17846
|
+
"description": "MIME type. Server prefers a known value (mapped to canonical extension) but accepts unknown types - file:process derives extension from fileName."
|
|
17847
|
+
},
|
|
17848
|
+
"questionId": {
|
|
17849
|
+
"type": "string",
|
|
17850
|
+
"description": "Optional question id this upload is for. Used for S3 key partitioning + downstream join hint; not auth-relevant."
|
|
17851
|
+
}
|
|
17852
|
+
}
|
|
17853
|
+
},
|
|
17854
|
+
"_meta": {
|
|
17855
|
+
"method": "POST",
|
|
17856
|
+
"path": "/v1/guest/attempts/uploads",
|
|
17857
|
+
"operationId": "uploadGuestAttemptFile"
|
|
17858
|
+
}
|
|
17859
|
+
},
|
|
17860
|
+
{
|
|
17861
|
+
"name": "guest_attempt_upload_options",
|
|
17862
|
+
"description": "Guest Attempt Upload Options",
|
|
17863
|
+
"inputSchema": {
|
|
17864
|
+
"type": "object",
|
|
17865
|
+
"properties": {}
|
|
17866
|
+
},
|
|
17867
|
+
"_meta": {
|
|
17868
|
+
"method": "OPTIONS",
|
|
17869
|
+
"path": "/v1/guest/attempts/uploads",
|
|
17870
|
+
"operationId": "guestAttemptUploadOptions"
|
|
17871
|
+
}
|
|
17872
|
+
},
|
|
17814
17873
|
{
|
|
17815
17874
|
"name": "start_guest_attempt",
|
|
17816
17875
|
"description": "Start Guest Attempt",
|
|
@@ -18007,15 +18066,16 @@
|
|
|
18007
18066
|
"description": "File / video uploads for `file-upload` and `video-recording`\nquestion types. Empty for all other types. Files are uploaded\nvia presigned PUT to S3 first; this carries the resulting\nreferences.",
|
|
18008
18067
|
"items": {
|
|
18009
18068
|
"title": "AnswerFileSchema",
|
|
18010
|
-
"description": "File reference for upload-type answers.
|
|
18069
|
+
"description": "File reference for upload-type answers (file-upload /\nvideo-recording question types). The candidate UI obtains\n`fileKey` from POST /v1/guest/attempts/uploads, PUTs the file\nto S3 via the presigned URL returned alongside it, then\nincludes a reference like `{fileKey, fileName, contentType,\nsize}` here on the guest PATCH submission. Wire field names\nmatch what file:process and the eval Lambda's\n_enrich_answers_with_file_content expect (fileKey, not\nfileUrl - the S3 path is server-side only).",
|
|
18011
18070
|
"type": "object",
|
|
18012
18071
|
"properties": {
|
|
18013
|
-
"
|
|
18072
|
+
"fileKey": {
|
|
18014
18073
|
"type": "string",
|
|
18015
|
-
"description": "S3
|
|
18074
|
+
"description": "S3 key in the attempt bucket. Returned by POST /v1/guest/attempts/uploads as data.attributes.fileKey; FE echoes it here."
|
|
18016
18075
|
},
|
|
18017
|
-
"
|
|
18018
|
-
"type": "string"
|
|
18076
|
+
"fileName": {
|
|
18077
|
+
"type": "string",
|
|
18078
|
+
"description": "Candidate-supplied original file name (display + audit trail)."
|
|
18019
18079
|
},
|
|
18020
18080
|
"contentType": {
|
|
18021
18081
|
"type": "string"
|