# Magous Digital Brasil — public functions

Capabilities: https://magous.com.br/wp-json/magous-agent/v1/capabilities
Native console: https://magous.com.br/?magous_agent=console

## Procedure
1. Read the current capabilities. Use only advertised public functions.
2. For products, read current price and availability; the store confirms options, shipping and final total.
3. For contact forms, ask for missing fields, show the proposed submission, obtain confirmation, and use the original CF7 form with its current hidden fields and antispam. Do not bypass protections.
4. For WhatsApp, prepare the question and open the native Joinchat workflow. Opening is not sending or delivery. Never retry an unknown submission automatically.

## Current contract
```json
{
    "schemaVersion": 1,
    "plugin": "Magous Agent Connect",
    "version": "0.1.2",
    "site": "https://magous.com.br/",
    "enabled": true,
    "serverExecutionEnabled": false,
    "console": "https://magous.com.br/?magous_agent=console",
    "providers": {
        "contactForm7": {
            "available": true,
            "selectedForm": 2339
        },
        "woocommerce": {
            "available": false
        },
        "joinchat": {
            "available": true
        }
    },
    "functions": [
        {
            "name": "contact_form.submit",
            "provider": "contact-form-7",
            "effect": "native_form_submission",
            "confirmationRequired": true,
            "transport": "original CF7 form/REST; native validation and spam protection",
            "schema": {
                "id": 2339,
                "title": "Contacto",
                "provider": "contact-form-7",
                "providerVersion": "6.1.6",
                "inputSchema": {
                    "type": "object",
                    "properties": {
                        "your-nombre": {
                            "type": "string",
                            "nativeType": "text",
                            "maxLength": 4000
                        },
                        "your-empresa": {
                            "type": "string",
                            "nativeType": "text",
                            "maxLength": 4000
                        },
                        "your-telefono": {
                            "type": "string",
                            "nativeType": "text",
                            "maxLength": 4000
                        },
                        "your-email": {
                            "type": "string",
                            "nativeType": "email",
                            "maxLength": 4000
                        },
                        "your-mensaje": {
                            "type": "string",
                            "nativeType": "textarea",
                            "maxLength": 4000
                        }
                    },
                    "required": [
                        "your-nombre",
                        "your-empresa",
                        "your-telefono",
                        "your-email"
                    ],
                    "additionalProperties": false
                },
                "nativePage": "https://magous.com.br/contato/",
                "console": "https://magous.com.br/?magous_agent=console",
                "endpoint": "https://magous.com.br/wp-json/contact-form-7/v1/contact-forms/2339/feedback",
                "method": "POST",
                "contentType": "multipart/form-data",
                "execution": "native_cf7_confirmation",
                "nativeHiddenFields": "Use the original rendered form and its current unit tag/antispam values. Never invent or bypass them.",
                "unsupportedAutoFillTypes": [],
                "confirmationRequired": true,
                "receiptSemantics": "mail_sent means the native mail transport accepted the request, not proof of inbox delivery. Unknown result must not be automatically resubmitted."
            }
        },
        {
            "name": "joinchat.prepare",
            "method": "GET",
            "endpoint": "https://magous.com.br/wp-json/magous-agent/v1/whatsapp",
            "effect": "prepare_only",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 2147483647
                    }
                },
                "additionalProperties": false
            },
            "confirmationRequiredForSend": true
        }
    ],
    "boundaries": [
        "Only selected public functions; no administration, customer records, orders, payment, credentials or paid content.",
        "No generic command execution. Native providers own validation and effects.",
        "A declared confirmation flag is not proof of human approval; the client must obtain approval and use the actual native workflow.",
        "WhatsApp prepared/opened is not sent/delivered. CF7 mail_sent is not inbox delivery.",
        "Never automatically retry an operation with unknown result."
    ]
}
```
