Files
mailu-openapi-agent/.a2a/agent.dsl.json
a2a-platform d29e0ca80a deploy
2026-06-04 22:35:23 +00:00

2527 lines
63 KiB
JSON

{
"schema_version": "2026-06-04",
"language": "python",
"name": "mailu-openapi-agent",
"description": "Mailu administration agent generated from the live Mailu OpenAPI spec.",
"version": "1.0",
"entrypoint": {
"module": "agent",
"class_name": "MailuOpenapiAgent",
"function": null,
"command": []
},
"skills": [
{
"name": "auto",
"description": "Use the OpenAPI service to complete a natural-language goal.",
"handler": "auto",
"tags": [
"openapi",
"auto"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 180.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"goal": {
"type": "string"
}
},
"required": [
"goal"
],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "send_email",
"description": "Mint a temporary Mailu token for a mailbox, send an email over SMTP submission, then delete the token.",
"handler": "send_email",
"tags": [
"mailbox",
"smtp",
"email"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"to": {
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"type": "string"
},
"text_body": {
"type": "string"
},
"cc": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"bcc": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"reply_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"smtp_host": {
"type": "string"
},
"smtp_port": {
"type": "integer"
}
},
"required": [
"email",
"to",
"subject",
"text_body"
],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "read_inbox",
"description": "Mint a temporary Mailu token for a mailbox, read messages over IMAPS, then delete the token.",
"handler": "read_inbox",
"tags": [
"mailbox",
"imap",
"email"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"mailbox": {
"type": "string"
},
"limit": {
"type": "integer"
},
"unread_only": {
"type": "boolean"
},
"mark_seen": {
"type": "boolean"
},
"max_body_chars": {
"type": "integer"
},
"imap_host": {
"type": "string"
},
"imap_port": {
"type": "integer"
}
},
"required": [
"email"
],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "mark_email_read",
"description": "Mint a temporary Mailu token for a mailbox, mark one IMAP UID as read, then delete the token.",
"handler": "mark_email_read",
"tags": [
"mailbox",
"imap",
"email"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"uid": {
"type": "string"
},
"mailbox": {
"type": "string"
},
"imap_host": {
"type": "string"
},
"imap_port": {
"type": "integer"
}
},
"required": [
"email",
"uid"
],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "create_alias",
"description": "POST /alias - Create a new alias",
"handler": "create_alias",
"tags": [
"alias"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "list_alias",
"description": "GET /alias - List all aliases",
"handler": "list_alias",
"tags": [
"alias"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_alias_filter_domain",
"description": "GET /alias/destination/{domain} - Look up the aliases of the specified domain",
"handler": "find_alias_filter_domain",
"tags": [
"alias"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "update_alias",
"description": "PATCH /alias/{alias} - Update the specfied alias",
"handler": "update_alias",
"tags": [
"alias"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "delete_alias",
"description": "DELETE /alias/{alias} - Delete the specified alias",
"handler": "delete_alias",
"tags": [
"alias"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_alias",
"description": "GET /alias/{alias} - Look up the specified alias",
"handler": "find_alias",
"tags": [
"alias"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "create_alternative",
"description": "POST /alternative - Create a new alternative (for domain)",
"handler": "create_alternative",
"tags": [
"alternative"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "list_alternative",
"description": "GET /alternative - List all alternatives",
"handler": "list_alternative",
"tags": [
"alternative"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "delete_alternative",
"description": "DELETE /alternative/{alt} - Delete the specified alternative (for domain)",
"handler": "delete_alternative",
"tags": [
"alternative"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_alternative",
"description": "GET /alternative/{alt} - Look up the specified alternative (of domain)",
"handler": "find_alternative",
"tags": [
"alternative"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "create_domain",
"description": "POST /domain - Create a new domain",
"handler": "create_domain",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "list_domain",
"description": "GET /domain - List all domains",
"handler": "list_domain",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "update_domain",
"description": "PATCH /domain/{domain} - Update the specified domain",
"handler": "update_domain",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "delete_domain",
"description": "DELETE /domain/{domain} - Delete the specified domain",
"handler": "delete_domain",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_domain",
"description": "GET /domain/{domain} - Look up the specified domain",
"handler": "find_domain",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "generate_dkim",
"description": "POST /domain/{domain}/dkim - Generate new DKIM/DMARC keys for the specified domain",
"handler": "generate_dkim",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "create_manager",
"description": "POST /domain/{domain}/manager - Create a new domain manager for the specified domain",
"handler": "create_manager",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "list_managers",
"description": "GET /domain/{domain}/manager - List all managers of the specified domain",
"handler": "list_managers",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "delete_manager",
"description": "DELETE /domain/{domain}/manager/{email} - Delete the specified manager of the specified domain",
"handler": "delete_manager",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_manager",
"description": "GET /domain/{domain}/manager/{email} - Check if the specified user is a manager of the specified domain",
"handler": "find_manager",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "list_user_domain",
"description": "GET /domain/{domain}/users - List all the users from the specified domain",
"handler": "list_user_domain",
"tags": [
"domain"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "create_relay",
"description": "POST /relay - Create a new relay",
"handler": "create_relay",
"tags": [
"relay"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "list_relays",
"description": "GET /relay - List all relays",
"handler": "list_relays",
"tags": [
"relay"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "update_relay",
"description": "PATCH /relay/{name} - Update the specified relay",
"handler": "update_relay",
"tags": [
"relay"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "delete_relay",
"description": "DELETE /relay/{name} - Delete the specified relay",
"handler": "delete_relay",
"tags": [
"relay"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_relay",
"description": "GET /relay/{name} - Look up the specified relay",
"handler": "find_relay",
"tags": [
"relay"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "create_token",
"description": "POST /token - Create a new token",
"handler": "create_token",
"tags": [
"token"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "list_tokens",
"description": "GET /token - List all tokens",
"handler": "list_tokens",
"tags": [
"token"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "update_token",
"description": "PATCH /token/{token_id} - Update the specified token",
"handler": "update_token",
"tags": [
"token"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "delete_token",
"description": "DELETE /token/{token_id} - Delete the specified token",
"handler": "delete_token",
"tags": [
"token"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_token",
"description": "GET /token/{token_id} - Find the specified token",
"handler": "find_token",
"tags": [
"token"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "create_token_2",
"description": "POST /tokenuser/{email} - Create a new token for the specified user",
"handler": "create_token_2",
"tags": [
"token"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_tokens_of_user",
"description": "GET /tokenuser/{email} - Look up all the tokens of the specified user",
"handler": "find_tokens_of_user",
"tags": [
"token"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "create_user",
"description": "POST /user - Create a new user",
"handler": "create_user",
"tags": [
"user"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "list_user",
"description": "GET /user - List all users",
"handler": "list_user",
"tags": [
"user"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "update_user",
"description": "PATCH /user/{email} - Update the specified user",
"handler": "update_user",
"tags": [
"user"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "delete_user",
"description": "DELETE /user/{email} - Delete the specified user",
"handler": "delete_user",
"tags": [
"user"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "find_user",
"description": "GET /user/{email} - Look up the specified user",
"handler": "find_user",
"tags": [
"user"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 60.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
]
},
"body": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
}
],
"capabilities": {
"openapi_auto_agent": {
"operation_count": 38,
"default_base_url": "https://mail.a2acloud.io/api/v1",
"source_openapi_url": "https://mail.a2acloud.io/api/v1/swagger.json",
"source_openapi_urls": [
"https://mail.a2acloud.io/api/v1/swagger.json"
],
"server_urls": [
"https://mail.a2acloud.io/api/v1"
],
"regenerable": true,
"security_schemes": [
"Bearer"
]
}
},
"input_modes": [
"application/json"
],
"output_modes": [
"application/json"
],
"required_secrets": [],
"required_env": [],
"consumer_setup": {
"fields": [
{
"name": "OPENAPI_BASE_URL",
"kind": "config",
"label": "API base URL",
"description": "Override the default API server (https://mail.a2acloud.io/api/v1).",
"required": false,
"input_type": "url",
"options": []
},
{
"name": "AUTHORIZATION",
"kind": "secret",
"label": "Bearer API key",
"description": "Sent as header parameter 'Authorization'. Also used to mint temporary per-user Mailu mailbox tokens for SMTP/IMAP skills.",
"required": true,
"input_type": "password",
"options": []
}
]
},
"runtime": {
"lifecycle": "ephemeral",
"state": "none",
"sandbox": "microsandbox",
"resources": {
"cpu": "200m",
"memory": "512Mi",
"gpu": 0,
"max_runtime_seconds": 600
},
"concurrency": 1,
"egress": {
"allow_hosts": [
"mail.a2acloud.io"
],
"allow_internal_services": [],
"deny_internet_by_default": true
},
"tools_used": [
"openapi",
"deepagents"
],
"llm_provisioning": "platform",
"pricing": {
"price_per_call_usd": 0.0,
"caller_pays_llm": false,
"notes": "Uses a scoped platform LLM grant through ctx.llm."
},
"wants_cp_jwt": false,
"apt_packages": []
},
"template_lineage": null,
"meta_agent_manifest": null,
"state_schema": null,
"workspace_access": {
"enabled": false,
"max_files": 0,
"allowed_modes": [],
"require_reason": true,
"deny_patterns": [],
"require_human_approval": false,
"max_total_size_bytes": 104857600
},
"config_schema": {
"description": "Default config model when an agent declares no config.",
"properties": {},
"title": "_EmptyConfig",
"type": "object"
},
"auth": {
"model": "a2a_pack.auth.NoAuth",
"strategy": "public",
"principal_schema": {
"additionalProperties": false,
"description": "Public agent: no caller identity required.",
"properties": {},
"title": "NoAuth",
"type": "object"
},
"resolver": null,
"required": false
},
"metadata": {
"source": "python-a2a-pack",
"project_manifest": {
"name": "mailu-openapi-agent",
"version": "1.0",
"entrypoint": "agent:MailuOpenapiAgent"
}
}
}