mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-18 00:03:23 +02:00
zip: default value for files
This commit is contained in:
@@ -131,7 +131,9 @@ const StructuredContentSchema = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const ZipResourcesInputSchema = z.object({
|
const ZipResourcesInputSchema = z.object({
|
||||||
files: z.record(z.string().url().describe("URL of the file to include in the zip")).describe("Mapping of file names to URLs to include in the zip"),
|
files: z.record(z.string().url().describe("URL of the file to include in the zip")).describe("Mapping of file names to URLs to include in the zip").default({
|
||||||
|
"README.md": "https://raw.githubusercontent.com/modelcontextprotocol/servers/refs/heads/main/README.md",
|
||||||
|
}),
|
||||||
outputType: z.enum([
|
outputType: z.enum([
|
||||||
'resourceLink',
|
'resourceLink',
|
||||||
'resource'
|
'resource'
|
||||||
|
|||||||
Reference in New Issue
Block a user