UTCP GraphQL Communication Protocol Plugin
This plugin integrates GraphQL as a UTCP 1.0 communication protocol and call template. It supports discovery via schema introspection, authenticated calls, and header handling.
Getting Started
Installation
pip install gql
Registration
import utcp_gql
utcp_gql.register()
How To Use
- Ensure the plugin is imported and registered:
import utcp_gql; utcp_gql.register(). - Add a manual in your client config:
{ "name": "my_graph", "call_template_type": "graphql", "url": "https://your.graphql/endpoint", "operation_type": "query", "headers": { "x-client": "utcp" }, "header_fields": ["x-session-id"] }
- Call a tool:
await client.call_tool("my_graph.someQuery", {"id": "123", "x-session-id": "abc"})
Notes
- Tool names are prefixed by the manual name (e.g.,
my_graph.someQuery). - Headers merge static
headersplus whitelisted dynamic fields fromheader_fields. - Supported auth: API key, Basic auth, OAuth2 (client-credentials).
- Security: only
https://orhttp://localhost/http://127.0.0.1endpoints.
For UTCP core docs, see https://github.com/universal-tool-calling-protocol/python-utcp.
Metadata
Release files for utcp-gql 1.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| utcp_gql-1.1.6.tar.gz | 16.0 kB | Without provenance | Details for utcp_gql-1.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| utcp_gql-1.1.6-py3-none-any.whl | Python 3 | none | any | Details for utcp_gql-1.1.6-py3-none-any.whl |
Total release size: 28.4 kB
Release files / utcp_gql-1.1.6.tar.gz
| Download URL | utcp_gql-1.1.6.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03dca9d6d5fb9735a36b0ca97cf377c68e03df89b6d095a55edbd7528ad6655c
|
|
BLAKE2b-256 checksum How to use checksums |
8dc760c4794803254f4e0d0a5239ae664a16e3a0aa68798dddc77b1e03ab2ac6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.13
|
Release files / utcp_gql-1.1.6-py3-none-any.whl
| Download URL | utcp_gql-1.1.6-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28564ac1ab1477638752fd7893e0f22f97dfd7bda38bb12ba22299b1c3a0eb4b
|
|
BLAKE2b-256 checksum How to use checksums |
fb11355f464a2c5da261e0ac12da76ea727d05137ce3c1933abfd2aa285638dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.13
|
Security for utcp-gql 1.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.