Google Cloud Pub/Sub
Cloud messaging service — publish and subscribe to messages, manage topics and subscriptions
Tools
| Name | Description |
|---|---|
publish_messagePublish a message to a Pub/Sub topic | Publish a message to a Pub/Sub topic |
pull_messagesPull messages from a Pub/Sub subscription | Pull messages from a Pub/Sub subscription |
acknowledge_messagesAcknowledge received messages so they are not redelivered | Acknowledge received messages so they are not redelivered |
list_topicsList all topics in a Google Cloud project | List all topics in a Google Cloud project |
create_topicCreate a new Pub/Sub topic | Create a new Pub/Sub topic |
delete_topicDelete a Pub/Sub topic | Delete a Pub/Sub topic |
list_subscriptionsList all subscriptions in a Google Cloud project | List all subscriptions in a Google Cloud project |
create_subscriptionCreate a new Pub/Sub subscription | Create a new Pub/Sub subscription |
custom_api_callMake a custom API call to the Google Cloud Pub/Sub API | Make a custom API call to the Google Cloud Pub/Sub API |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('gcloud-pubsub', 'publish_message', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'gcloud-pubsub',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Google Cloud Pub/Sub to my app?
Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does Google Cloud Pub/Sub support?
Google Cloud Pub/Sub supports 9 tools including Publish Message, Pull Messages, Acknowledge Messages, List Topics, Create Topic, and more.
Can I use Google Cloud Pub/Sub with AI agents?
Yes. Add Google Cloud Pub/Sub to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
How do I connect Google Cloud Pub/Sub to ChatGPT or Claude?
Open the Weavz connector setup, sign in, choose a workspace, and add Google Cloud Pub/Sub as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Google Cloud Pub/Sub tools exposed by that workspace.
Does Google Cloud Pub/Sub work with Claude Code, Cursor, Codex, and local agents?
Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Google Cloud Pub/Sub work, and execute Code Mode workflows from a terminal.
What can I ask an AI agent to do with Google Cloud Pub/Sub?
Google Cloud Pub/Sub exposes 9 tools, including Publish Message, Pull Messages, Acknowledge Messages, List Topics, Create Topic, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.
Can Google Cloud Pub/Sub be used in stateful agent workflows?
Yes. Agents can combine Google Cloud Pub/Sub tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does Google Cloud Pub/Sub use?
Google Cloud Pub/Sub uses OAuth2. Weavz stores OAuth credentials securely and refreshes tokens when supported by the provider.
How much does the Google Cloud Pub/Sub integration cost?
The Google Cloud Pub/Sub integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
Connect Google Cloud Pub/Sub in minutes
Get 20,000 free action executions every month. No credit card required.