File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ The Burger MCP server provides the following tools:
3535| get_order_by_id | Get a specific order by its ID |
3636| place_order | Place a new order with burgers (requires ` userId ` ) |
3737| delete_order_by_id | Cancel an order if it has not yet been started (status must be ` pending ` , requires ` userId ` ) |
38- | get_image | Retrieve the full URL of an image file |
3938
4039## Test with MCP inspector
4140
Original file line number Diff line number Diff line change @@ -116,20 +116,6 @@ export const tools = [
116116 } ) ;
117117 } ,
118118 } ,
119- {
120- name : "get_image" ,
121- description : "Retrieve the full URL of an image file" ,
122- schema : z . object ( {
123- filepath : z . string ( ) . describe ( "Path to the image file" ) ,
124- } ) ,
125- handler : async ( args : z . ZodRawShape ) => {
126- const imageUrl = new URL (
127- `/api/images/${ args . filepath } ` ,
128- burgerApiUrl
129- ) . toString ( ) ;
130- return JSON . stringify ( { imageUrl } ) ;
131- } ,
132- } ,
133119] ;
134120
135121// Wraps standard fetch to include the base URL and handle errors
You can’t perform that action at this time.
0 commit comments