diff --git a/sdk/guides/agent-server/custom-tools.mdx b/sdk/guides/agent-server/custom-tools.mdx
index be6e7521..f19cb150 100644
--- a/sdk/guides/agent-server/custom-tools.mdx
+++ b/sdk/guides/agent-server/custom-tools.mdx
@@ -239,7 +239,7 @@ ENV PYTHONPATH="/app:${PYTHONPATH}"
This example is available on GitHub: [examples/02_remote_agent_server/06_custom_tool/](https://github.com/OpenHands/software-agent-sdk/tree/main/examples/02_remote_agent_server/06_custom_tool)
-```python icon="python" expandable examples/02_remote_agent_server/06_custom_tool/custom_tool_example.py
+```python icon="python" expandable examples/02_remote_agent_server/06_custom_tool/main.py
"""Example: Using custom tools with remote agent server.
This example demonstrates how to use custom tools with a remote agent server
diff --git a/sdk/guides/hooks.mdx b/sdk/guides/hooks.mdx
index 2ceefb87..903b04a4 100644
--- a/sdk/guides/hooks.mdx
+++ b/sdk/guides/hooks.mdx
@@ -58,7 +58,7 @@ policy must exit with `2`.
This example is available on GitHub: [examples/01_standalone_sdk/33_hooks](https://github.com/OpenHands/software-agent-sdk/blob/main/examples/01_standalone_sdk/33_hooks/)
-```python icon="python" expandable examples/01_standalone_sdk/33_hooks/33_hooks.py
+```python icon="python" expandable examples/01_standalone_sdk/33_hooks/main.py
"""OpenHands Agent SDK — Hooks Example
Demonstrates the OpenHands hooks system.
@@ -212,7 +212,7 @@ with tempfile.TemporaryDirectory() as tmpdir:
cost = conversation.conversation_stats.get_combined_metrics().accumulated_cost
print(f"\nEXAMPLE_COST: {cost}")
```
-
+
### Hook Scripts