Give OpenCode your Google Docs and Postgres together and it can run a database change and document it in the same task. It analyzes tables, copies data in and out, creates schemas and indexes, and wraps multi-step work in a transaction, then writes what it did into a Google Doc. Postgres is the database and Google Docs is where the runbook lives, so every change comes with a record.
Pick the operations you want and each becomes a tool the agent can call directly while it works.
Configuration for listing documents from Google Drive
Configuration for getting a document
Configuration for creating a new document
Configuration for appending text to a document
Configuration for inserting text at a specific location
Configuration for replacing text in a document
Execute a SELECT query and return results as JSON
Execute an INSERT, UPDATE, DELETE, or other non-SELECT statement
Execute a statement with multiple parameter sets (batch operations)
Execute query with cursor for large result sets
Bulk import data to a table using COPY
Bulk export data from a table using COPY
List all tables in a schema
Get column metadata for a table
Get detailed information about a table including constraints and indexes
Create a new table
Drop a table
Truncate a table (remove all rows)
List all schemas in the database
Create a new schema
Drop a schema
List all databases in the PostgreSQL server
List all indexes in a schema
Create an index on a table
Drop an index
List all views in a schema
Create a view
Drop a view
List all sequences in a schema
Get the next value from a sequence (nextval)
Get the current value from a sequence (currval)
Set the current value of a sequence (setval)
List all functions in a schema
Call a PostgreSQL function
List all constraints for a table
List all triggers in a schema
List all installed extensions
Create/install an extension
List all database users
List all database roles
Explain a query's execution plan
Vacuum a table to reclaim storage and update statistics
Analyze a table to update statistics
Begin a new transaction
Commit the current transaction
Rollback the current transaction
OpenCode is an open, model-agnostic command-line coding agent. In NoClick it runs hosted and gains your apps as tools, so it can act on real systems rather than just edit files. Wire an integration into the agent and OpenCode can use that app’s operations directly while it works. It is a flexible choice when you want an open agent with broad model support and real tool access.
NoClick runs OpenCode for you with Google Docs and PostgreSQL wired in as tools. Connect your account and run.