feat: add mcp client instruction support
This commit is contained in:
parent
cf4c592c8b
commit
443c0829ed
1 changed files with 23 additions and 0 deletions
|
|
@ -304,6 +304,12 @@ export const InitializeResultSchema = ResultSchema.extend({
|
|||
protocolVersion: z.string(),
|
||||
capabilities: ServerCapabilitiesSchema,
|
||||
serverInfo: ImplementationSchema,
|
||||
/**
|
||||
* Instructions describing how to use the server and its features.
|
||||
*
|
||||
* This can be used by clients to improve the LLM's understanding of available tools, resources, etc. It can be thought of like a "hint" to the model. For example, this information MAY be added to the system prompt.
|
||||
*/
|
||||
instructions: z.optional(z.string()),
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue