Skip to content

Commit b42ad4f

Browse files
fix(advanced-tools): 1.2 schema hints and fixing entry with tags (#12)
Co-authored-by: Kent C. Dodds <[email protected]>
1 parent fb068ae commit b42ad4f

File tree

1 file changed

+2
-2
lines changed
  • exercises/01.advanced-tools/02.problem.structured/src

1 file changed

+2
-2
lines changed

exercises/01.advanced-tools/02.problem.structured/src/tools.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export async function initializeTools(agent: EpicMeMCP) {
330330
openWorldHint: false,
331331
} satisfies ToolAnnotations,
332332
inputSchema: entryTagIdSchema,
333-
// 🐨 add an outputSchema here with a tag that is a tagSchema and an entry that is an entrySchema
333+
// 🐨 add an outputSchema here with a success boolean and a tagEntry that is an entryTagSchema
334334
},
335335
async ({ entryId, tagId }) => {
336336
const tag = await agent.db.getTag(tagId)
@@ -382,7 +382,7 @@ export async function initializeTools(agent: EpicMeMCP) {
382382
'If set to > 0, use mock mode and this is the mock wait time in milliseconds',
383383
),
384384
},
385-
// 🐨 add an outputSchema here with a video that is a videoSchema
385+
// 🐨 add an outputSchema here with a video that includes videoUri (you're on your own here!)
386386
},
387387
async ({ year = new Date().getFullYear(), mockTime }) => {
388388
const entries = await agent.db.getEntries()

0 commit comments

Comments
 (0)