add instructions for llm if api not enabled

This commit is contained in:
Taylor Wilsdon
2025-07-28 11:49:01 -04:00
parent 18bf5c5ebf
commit b4743d2f16
13 changed files with 545 additions and 424 deletions

View File

@@ -18,7 +18,7 @@ logger = logging.getLogger(__name__)
@server.tool()
@handle_http_errors("create_presentation")
@handle_http_errors("create_presentation", service_type="slides")
@require_google_service("slides", "slides")
async def create_presentation(
service,
@@ -59,7 +59,7 @@ async def create_presentation(
@server.tool()
@handle_http_errors("get_presentation", is_read_only=True)
@handle_http_errors("get_presentation", is_read_only=True, service_type="slides")
@require_google_service("slides", "slides_read")
async def get_presentation(
service,
@@ -107,7 +107,7 @@ Slides Breakdown:
@server.tool()
@handle_http_errors("batch_update_presentation")
@handle_http_errors("batch_update_presentation", service_type="slides")
@require_google_service("slides", "slides")
async def batch_update_presentation(
service,
@@ -164,7 +164,7 @@ async def batch_update_presentation(
@server.tool()
@handle_http_errors("get_page", is_read_only=True)
@handle_http_errors("get_page", is_read_only=True, service_type="slides")
@require_google_service("slides", "slides_read")
async def get_page(
service,
@@ -226,7 +226,7 @@ Page Elements:
@server.tool()
@handle_http_errors("get_page_thumbnail", is_read_only=True)
@handle_http_errors("get_page_thumbnail", is_read_only=True, service_type="slides")
@require_google_service("slides", "slides_read")
async def get_page_thumbnail(
service,