← Files PetraCRMARCHIVED FILE
plugin.json
7.8 KB · Nov 30, 2026 · 15:12 UTC
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "petracrm",
"version": "0.2.2",
"description": "Search CRM records, manage projects and tasks, and retrieve original documents and reports.",
"author": {
"name": "Tarek Haddad Holdings Inc"
},
"extensions": {
"com.openai": {
"interface": {
"displayName": "PetraCRM",
"shortDescription": "Your CRM in conversation",
"longDescription": "Connect your existing PetraCRM Team account to search clients, leads and business records, manage projects and tasks, create and update records, and retrieve original CRM documents and reports. Your employee access and company rules apply throughout. Sensitive actions open a review before execution. Supports Arabic and English. Company configuration management, Brevo campaigns, invoice recurring subscriptions, mailbox access and Petra AI conversations are outside this plugin.",
"developerName": "Tarek Haddad Holdings Inc",
"category": "Business & Operations",
"capabilities": [
"Read",
"Write"
],
"defaultPrompt": [
"Show the invoices due this month.",
"Summarize my projects and overdue tasks.",
"Get the original PDF for this estimate."
],
"logo": "./assets/petracrm-logo.png",
"composerIcon": "./assets/petracrm-logo.png",
"websiteURL": "https://plugin.petracrm.com/about",
"supportURL": "https://plugin.petracrm.com/support",
"privacyPolicyURL": "https://plugin.petracrm.com/privacy",
"termsOfServiceURL": "https://plugin.petracrm.com/terms"
},
"review": {
"prompts": [
"Show the invoices due this month.",
"Summarize my projects and overdue tasks.",
"Get the original PDF for this estimate."
],
"test_cases": {
"positive": [
{
"description": "Setup: dedicated reviewer Team account and company supplied through secure portal fields. Verify the current account before CRM work.",
"prompt": "Show which PetraCRM account and company I am connected to.",
"tools_triggered": "petracrm_profile",
"expected_behavior": "Return the authenticated profile nickname and current company exactly from the tool. Do not list other companies or infer an admin role."
},
{
"description": "Setup: secure reviewer instructions identify one demo client with a native display number. Read this client only.",
"prompt": "Show the details of the demo client for this review.",
"tools_triggered": "petracrm_clients_read",
"expected_behavior": "Use the demo client ID resolved from the supplied reviewer context. Show its native display number and name from returned data; never invent a record reference."
},
{
"description": "Setup: dedicated editable demo client, known revision and intended new review-only name. No production customer.",
"prompt": "Rename the demo client to Review Example, then check the result.",
"tools_triggered": "petracrm_clients_read, petracrm_clients_update",
"expected_behavior": "Use input.id for that demo client and input.changes.clientName=Review Example under the current native schema; retain one request.idempotencyKey. Let the gateway/native preview bind the current revision. Report success only from committed/unchanged; reconcile pending/unknown with the same key. Do not create a duplicate."
},
{
"description": "Setup: disposable demo client with native delete permission. Cancel the displayed native confirmation; do not approve a deletion.",
"prompt": "Prepare to delete the disposable review client, but let me review it first.",
"tools_triggered": "petracrm_clients_read, petracrm_clients_delete",
"expected_behavior": "Return pending with the native authenticated review URL before any destructive commit. Explain actual effects, wait for the reviewer, and preserve the canceled/rejected outcome without reporting deletion."
},
{
"description": "Setup: one existing demo estimate with PDF permission. Its native document reference is supplied in secure reviewer instructions. Host file presentation still needs verification.",
"prompt": "Give me the original PDF for the demo estimate.",
"tools_triggered": "petracrm_estimates_pdf",
"expected_behavior": "Use the exact demo estimate ID and deliver the original protected file bytes. Keep filename/MIME/hash unchanged; do not regenerate or email it. If host delivery is unavailable, explain the limitation instead of presenting an internal resource URI as a working download."
}
],
"negative": [
{
"description": "Mailbox reading is excluded. Explain this limit without invoking CRM email-send or any mailbox tool.",
"prompt": "Read my mailbox and summarize all customer emails from today."
},
{
"description": "Company configuration administration is excluded. Do not invoke a company-settings tool or substitute an ordinary business edit.",
"prompt": "Change the company default profit settings for everyone."
},
{
"description": "SQL, shell and tenant overrides are outside this plugin. Decline direct database access; do not invent or invoke such a tool.",
"prompt": "Run SQL against another company and export its invoices."
}
]
}
},
"publication": {
"release_notes": "Updated Codex connection configuration and connection guidance. Brevo campaigns and invoice recurring subscriptions are excluded from this integration.",
"countries": [],
"translations": {
"ar": {
"subtitle": "\u0646\u0638\u0627\u0645 CRM \u0639\u0628\u0631 \u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629",
"description": "\u0627\u0631\u0628\u0637 \u062d\u0633\u0627\u0628 \u0645\u0648\u0638\u0641\u0643 \u0641\u064a PetraCRM \u0644\u0644\u0628\u062d\u062b \u0641\u064a \u0633\u062c\u0644\u0627\u062a \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0648\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0645\u0634\u0627\u0631\u064a\u0639 \u0648\u0627\u0644\u0645\u0647\u0627\u0645 \u0648\u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0633\u062c\u0644\u0627\u062a \u0648\u062a\u062d\u062f\u064a\u062b\u0647\u0627 \u0648\u0627\u0633\u062a\u0631\u062c\u0627\u0639 \u0627\u0644\u0645\u0633\u062a\u0646\u062f\u0627\u062a \u0648\u0627\u0644\u062a\u0642\u0627\u0631\u064a\u0631 \u0627\u0644\u0623\u0635\u0644\u064a\u0629. \u062a\u0628\u0642\u0649 \u0635\u0644\u0627\u062d\u064a\u0627\u062a \u0627\u0644\u0645\u0648\u0638\u0641 \u0648\u0642\u0648\u0627\u0639\u062f \u0627\u0644\u0634\u0631\u0643\u0629 \u0633\u0627\u0631\u064a\u0629\u060c \u0648\u062a\u062d\u062a\u0627\u062c \u0627\u0644\u0625\u062c\u0631\u0627\u0621\u0627\u062a \u0627\u0644\u062d\u0633\u0627\u0633\u0629 \u0625\u0644\u0649 \u0645\u0631\u0627\u062c\u0639\u0629 \u0642\u0628\u0644 \u0627\u0644\u062a\u0646\u0641\u064a\u0630. \u0644\u0627 \u062a\u0634\u0645\u0644 \u062d\u0645\u0644\u0627\u062a \u0628\u0631\u064a\u0641\u0648 \u0623\u0648 \u0627\u0634\u062a\u0631\u0627\u0643\u0627\u062a \u0627\u0644\u0641\u0627\u062a\u0648\u0631\u0629 \u0627\u0644\u062f\u0648\u0631\u064a\u0629 \u0623\u0648 \u0625\u062f\u0627\u0631\u0629 \u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0634\u0631\u0643\u0629 \u0623\u0648 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0628\u0631\u064a\u062f \u0623\u0648 \u0645\u062d\u0627\u062f\u062b\u0627\u062a Petra AI."
}
}
},
"apps": "./.app.json"
}
}
}
SHA-256: 1feebe3676aa9fb8f9b016a3f51d5b8bf96de35de41ef047e6dedf438983b99c