Skip to content

Commit 664ece8

Browse files
committed
improve instructions
1 parent dc6abac commit 664ece8

File tree

1 file changed

+2
-0
lines changed
  • exercises/03.resources/04.problem.completion/src

1 file changed

+2
-0
lines changed

exercises/03.resources/04.problem.completion/src/resources.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export async function initializeResources(agent: EpicMeMCP) {
2828
'tag',
2929
new ResourceTemplate('epicme://tags/{id}', {
3030
// 🐨 add a `complete` callback for the `id` parameter
31+
// 🐨 accept a value and return an array of strings of ids that include the value
3132
// 💰 const tags = await agent.db.getTags()
3233
list: async () => {
3334
const tags = await agent.db.getTags()
@@ -63,6 +64,7 @@ export async function initializeResources(agent: EpicMeMCP) {
6364
'entry',
6465
new ResourceTemplate('epicme://entries/{id}', {
6566
// 🐨 add a `complete` callback for the `id` parameter
67+
// 🐨 accept a value and return an array of strings of ids that include the value
6668
// 💰 const entries = await agent.db.getEntries()
6769
list: async () => {
6870
const entries = await agent.db.getEntries()

0 commit comments

Comments
 (0)