-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
MCP server throws error when output
is an array
Hi,
I noticed that the MCP server currently throws an error when the output
parameter is provided as an array (e.g., ["hostid", "name"]
) instead of a single string. It seems that only a string value like "extend"
is accepted.
This prevents users from specifying multiple fields to return in the response. It would be great if the MCP server could support an array for the output
parameter, similar to the Zabbix API behavior.
Steps to reproduce
Call the MCP server endpoint with output
as an array:
{
"method": "host.get",
"params": {
"output": ["hostid", "name"]
}
}
Metadata
Metadata
Assignees
Labels
No labels