Skip to content

Commit 6667d22

Browse files
authored
MCPfied the retry tools page (#492)
1 parent 4ac027e commit 6667d22

File tree

1 file changed

+4
-4
lines changed
  • app/en/home/build-tools/retry-tools-with-improved-prompt

1 file changed

+4
-4
lines changed

app/en/home/build-tools/retry-tools-with-improved-prompt/page.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ from typing import Annotated
2828

2929
from slack_sdk import WebClient
3030

31-
from arcade_tdk.errors import RetryableToolError
32-
from arcade_tdk import ToolContext, tool
33-
from arcade_tdk.auth import Slack
31+
from arcade_core.errors import RetryableToolError
32+
from arcade_mcp_server import Context, tool
33+
from arcade_mcp_server.auth import Slack
3434

3535

3636
@tool(
@@ -44,7 +44,7 @@ from arcade_tdk.auth import Slack
4444
)
4545
)
4646
def send_dm_to_user(
47-
context: ToolContext,
47+
context: Context,
4848
user_name: Annotated[
4949
str,
5050
"The Slack username of the person you want to message. Slack usernames are ALWAYS lowercase.",

0 commit comments

Comments
 (0)