MCP Connector invalid typing of arguments #172
-
Hey everyone, I'm having issues with Neuron's casting to MCP server's arguments. For example, I have the following tool: /**
* Adds two numbers together.
* @param int $a The first number.
* @param int $b The second number.
* @return int The sum.
*/
#[McpTool(name: 'simple_adder')]
public function add(int $a, int $b): int
{
fwrite(STDERR, "Executing simple_adder with a=$a, b=$b\n");
return $a + $b;
} that is properly resolved to the following
in However, the final call in
Because we have positional array instead of
am I missing something? If I force Am I missing something? Why the arguments aren't |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @bartfo the latest release 1.12.18 could fix this issue. Let me know eventually. |
Beta Was this translation helpful? Give feedback.
Hi @bartfo the latest release 1.12.18 could fix this issue. Let me know eventually.