python-sdk/examples/snippets/servers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Chafik 71c475588f
Implement SEP-1577 - Sampling With Tools (#1594)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-22 23:58:14 -05:00
..
lowlevel Allow CallToolResult to be returned directly to support _meta field for OpenAI Apps (#1459) 2025-10-21 18:52:08 +00:00
__init__.py README - replace code snippets with examples (#1136) 2025-07-14 13:57:47 +01:00
basic_prompt.py Embed code snippets for README from executable examples (#1055) 2025-07-04 17:25:54 +01:00
basic_resource.py Embed code snippets for README from executable examples (#1055) 2025-07-04 17:25:54 +01:00
basic_tool.py Embed code snippets for README from executable examples (#1055) 2025-07-04 17:25:54 +01:00
completion.py Embed code snippets for README from executable examples (#1055) 2025-07-04 17:25:54 +01:00
direct_call_tool_result.py Allow CallToolResult to be returned directly to support _meta field for OpenAI Apps (#1459) 2025-10-21 18:52:08 +00:00
direct_execution.py README - replace code snippets with examples - direct execution and display utilities (#1137) 2025-07-14 15:54:36 +01:00
elicitation.py Add pyright strict mode on the whole project (#1254) 2025-08-11 18:56:37 +01:00
fastmcp_quickstart.py docs: Update examples to use stateless HTTP with JSON responses (#1499) 2025-11-20 15:06:37 +00:00
images.py README - replace code snippets with examples (#1136) 2025-07-14 13:57:47 +01:00
lifespan_example.py Add pyright strict mode on the whole project (#1254) 2025-08-11 18:56:37 +01:00
notifications.py Add pyright strict mode on the whole project (#1254) 2025-08-11 18:56:37 +01:00
oauth_server.py docs: Update examples to use stateless HTTP with JSON responses (#1499) 2025-11-20 15:06:37 +00:00
pagination_example.py feat: add paginated list decorators for prompts, resources, and tools (#1286) 2025-09-23 14:58:06 +01:00
sampling.py Implement SEP-1577 - Sampling With Tools (#1594) 2025-11-22 23:58:14 -05:00
streamable_config.py docs: Update examples to use stateless HTTP with JSON responses (#1499) 2025-11-20 15:06:37 +00:00
streamable_http_basic_mounting.py docs: Update examples to use stateless HTTP with JSON responses (#1499) 2025-11-20 15:06:37 +00:00
streamable_http_host_mounting.py docs: Update examples to use stateless HTTP with JSON responses (#1499) 2025-11-20 15:06:37 +00:00
streamable_http_multiple_servers.py docs: Update examples to use stateless HTTP with JSON responses (#1499) 2025-11-20 15:06:37 +00:00
streamable_http_path_config.py docs: Update examples to use stateless HTTP with JSON responses (#1499) 2025-11-20 15:06:37 +00:00
streamable_starlette_mount.py docs: Update examples to use stateless HTTP with JSON responses (#1499) 2025-11-20 15:06:37 +00:00
structured_output.py changes structured temperature to not deadly (#1328) 2025-08-31 23:09:49 +00:00
tool_progress.py Add pyright strict mode on the whole project (#1254) 2025-08-11 18:56:37 +01:00