{"openapi":"3.1.0","info":{"title":"Google Books (BYOK) API","version":"0.1.0","description":"Google Books (BYOK) lets an AI assistant read your own Google Books data through the Google Books API with a key you supply (Google API key (Books API enabled)). Read-only: 6 tools (search_volumes, search_ebooks, get_volume, list_user_bookshelves, get_user_bookshelf, list_shelf_volumes). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached;...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-googlebooks.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-googlebooks/docs"},"termsOfService":"https://connectorbay.com/byok-googlebooks/terms"},"servers":[{"url":"https://byok-googlebooks.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-googlebooks/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/search_volumes":{"post":{"operationId":"search_volumes","summary":"Search Google Books for books and magazines by text or qualifiers such as intitle:, inauthor:, isbn:, subject:. Returns ","description":"Search Google Books for books and magazines by text or qualifiers such as intitle:, inauthor:, isbn:, subject:. Returns title, authors, publisher, date, description, identifiers, rating and links. Use for \"Find books by Octavia Butler on Google Books\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"q":{"description":"Search text, optionally with qualifiers, for example 'inauthor:octavia butler', 'intitle:kindred' or 'isbn:9780807083697'.","maxLength":300,"title":"Q","type":"string"},"order_by":{"anyOf":[{"enum":["relevance","newest"],"type":"string"},{"type":"null"}],"default":null,"description":"Order: relevance or newest.","title":"Order By"},"print_type":{"anyOf":[{"enum":["all","books","magazines"],"type":"string"},{"type":"null"}],"default":"all","description":"Kind of content: all, books or magazines.","title":"Print Type"},"lang_restrict":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":null,"description":"Only this language, as a two-letter code such as 'en'.","title":"Lang Restrict"},"max_results":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 40).","title":"Max Results"},"start_index":{"anyOf":[{"maximum":10000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Index of the first result, starting at 0, for paging.","title":"Start Index"}},"required":["q"],"title":"search_volumesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_ebooks":{"post":{"operationId":"search_ebooks","summary":"Search Google Books for e-books only, filtered by availability: any ebook, free ebooks, or paid ebooks (with list price)","description":"Search Google Books for e-books only, filtered by availability: any ebook, free ebooks, or paid ebooks (with list price). Returns the same fields as search_volumes. Use for \"Find free ebooks about gardening on Google Books\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"q":{"description":"Search text, optionally with qualifiers such as 'subject:gardening'.","maxLength":300,"title":"Q","type":"string"},"filter":{"anyOf":[{"enum":["ebooks","free-ebooks","paid-ebooks"],"type":"string"},{"type":"null"}],"default":"free-ebooks","description":"Availability: ebooks (all Google eBooks), free-ebooks (full text, free) or paid-ebooks (with a price).","title":"Filter"},"order_by":{"anyOf":[{"enum":["relevance","newest"],"type":"string"},{"type":"null"}],"default":null,"description":"Order: relevance or newest.","title":"Order By"},"lang_restrict":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":null,"description":"Only this language, as a two-letter code such as 'en'.","title":"Lang Restrict"},"max_results":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 40).","title":"Max Results"},"start_index":{"anyOf":[{"maximum":10000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Index of the first result, starting at 0, for paging.","title":"Start Index"}},"required":["q"],"title":"search_ebooksArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_volume":{"post":{"operationId":"get_volume","summary":"Get one Google Books volume by its volume id: title, authors, description, identifiers, page count, categories, rating, ","description":"Get one Google Books volume by its volume id: title, authors, description, identifiers, page count, categories, rating, sale and access information. Use for \"Tell me about the Google Books volume with id zyTCAlFPjgYC\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"volume_id":{"description":"Google Books volume id (the id of a search result), for example 'zyTCAlFPjgYC'.","maxLength":40,"title":"Volume Id","type":"string"},"projection":{"anyOf":[{"enum":["full","lite"],"type":"string"},{"type":"null"}],"default":"full","description":"full for all volume data, lite for a subset.","title":"Projection"}},"required":["volume_id"],"title":"get_volumeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_user_bookshelves":{"post":{"operationId":"list_user_bookshelves","summary":"List the public bookshelves of a Google Books user: id, title, description, volume count and last update. Use for \"What ","description":"List the public bookshelves of a Google Books user: id, title, description, volume count and last update. Use for \"What public bookshelves does this Google Books user have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"user_id":{"description":"Numeric Google Books user id of the shelf owner (the uid parameter of their Google Books library URL; only they can share it).","maxLength":40,"title":"User Id","type":"string"}},"required":["user_id"],"title":"list_user_bookshelvesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_user_bookshelf":{"post":{"operationId":"get_user_bookshelf","summary":"Get one public bookshelf of a Google Books user by shelf id: title, description, volume count and last update. Use for \"","description":"Get one public bookshelf of a Google Books user by shelf id: title, description, volume count and last update. Use for \"Show the details of bookshelf 3 of this Google Books user\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"user_id":{"description":"Numeric Google Books user id of the shelf owner (the uid parameter of their Google Books library URL; only they can share it).","maxLength":40,"title":"User Id","type":"string"},"shelf_id":{"description":"Numeric bookshelf id: 0 Favorites, 1 Purchased, 2 To Read, 3 Reading Now, 4 Have Read, 5 Reviewed, 6 Recently Viewed, 7 My eBooks, 8 Books For You; custom shelves are above 1000.","maxLength":10,"title":"Shelf Id","type":"string"}},"required":["user_id","shelf_id"],"title":"get_user_bookshelfArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_shelf_volumes":{"post":{"operationId":"list_shelf_volumes","summary":"List the volumes on a public bookshelf of a Google Books user, with title, authors, description and identifiers. Use for","description":"List the volumes on a public bookshelf of a Google Books user, with title, authors, description and identifiers. Use for \"Which books are on bookshelf 3 of this Google Books user\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"user_id":{"description":"Numeric Google Books user id of the shelf owner (the uid parameter of their Google Books library URL; only they can share it).","maxLength":40,"title":"User Id","type":"string"},"shelf_id":{"description":"Numeric bookshelf id: 0 Favorites, 1 Purchased, 2 To Read, 3 Reading Now, 4 Have Read, 5 Reviewed, 6 Recently Viewed, 7 My eBooks, 8 Books For You; custom shelves are above 1000.","maxLength":10,"title":"Shelf Id","type":"string"},"max_results":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many volumes to return (1 to 40).","title":"Max Results"},"start_index":{"anyOf":[{"maximum":10000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Index of the first result, starting at 0, for paging.","title":"Start Index"}},"required":["user_id","shelf_id"],"title":"list_shelf_volumesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}