# MCP Tools Reference: managedkafka

## Tool: `restart_connector`

Restarts a Google Cloud Managed service for Apache Kafka Connect Connector.

The following sample demonstrate how to use `curl` to invoke the `restart_connector` MCP tool.

| Curl Request |
|---|
| ```bash curl --location 'https://managedkafka.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "restart_connector", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' ``` |

## Input Schema

Request message for RestartConnector.

### RestartConnectorRequest

| JSON representation |
|---|
| ``` { "name": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Required. The name of the connector to restart. Format: projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}/connectors/{connector_id} |

## Output Schema

Response for RestartConnector.

### Tool Annotations

Destructive Hint: ✅ \| Idempotent Hint: ✅ \| Read Only Hint: ❌ \| Open World Hint: ❌