init
This commit is contained in:
commit
ec53fcbe95
1905 changed files with 513762 additions and 0 deletions
20
tools/ListMcpResourcesTool/prompt.ts
Normal file
20
tools/ListMcpResourcesTool/prompt.ts
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
export const LIST_MCP_RESOURCES_TOOL_NAME = 'ListMcpResourcesTool'
|
||||
|
||||
export const DESCRIPTION = `
|
||||
Lists available resources from configured MCP servers.
|
||||
Each resource object includes a 'server' field indicating which server it's from.
|
||||
|
||||
Usage examples:
|
||||
- List all resources from all servers: \`listMcpResources\`
|
||||
- List resources from a specific server: \`listMcpResources({ server: "myserver" })\`
|
||||
`
|
||||
|
||||
export const PROMPT = `
|
||||
List available resources from configured MCP servers.
|
||||
Each returned resource will include all standard MCP resource fields plus a 'server' field
|
||||
indicating which server the resource belongs to.
|
||||
|
||||
Parameters:
|
||||
- server (optional): The name of a specific MCP server to get resources from. If not provided,
|
||||
resources from all servers will be returned.
|
||||
`
|
||||
Loading…
Add table
Add a link
Reference in a new issue