mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-25 14:53:34 +00:00
feat(tools): add Google Discovery API URLs to WASM tool descriptions (#585)
Add Google Discovery Service URLs to all 6 Google WASM tool descriptions so the LLM can fetch full API documentation on demand using its built-in HTTP tool. Discovery API is public and requires no authentication. URLs added: - Gmail: googleapis.com/discovery/v1/apis/gmail/v1/rest - Calendar: calendar-json.googleapis.com/$discovery/rest?version=v3 - Drive: googleapis.com/discovery/v1/apis/drive/v3/rest - Docs: googleapis.com/discovery/v1/apis/docs/v1/rest - Sheets: googleapis.com/discovery/v1/apis/sheets/v4/rest - Slides: googleapis.com/discovery/v1/apis/slides/v1/rest [skip-regression-check] Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
46218ec794
commit
2d332f12f0
@@ -199,7 +199,9 @@ impl exports::near::agent::tool::Guest for GoogleDocsTool {
|
||||
bulleted/numbered lists. Also provides a batch_update action for complex multi-step \
|
||||
edits executed atomically. Document IDs are the same as Google Drive file IDs, so use \
|
||||
the google-drive tool to search for existing documents. Requires a Google OAuth token \
|
||||
with the documents scope."
|
||||
with the documents scope. \
|
||||
To discover all available API operations, use http GET to fetch \
|
||||
<https://www.googleapis.com/discovery/v1/apis/docs/v1/rest> (public, no auth needed)."
|
||||
.to_string()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user