Skip to content

Commit e779230

Browse files
committed
feat(request): update CallToolRequest to check for non-empty arguments
1 parent 3700e18 commit e779230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Types/Requests/CallToolRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getParams(): ?array
5555
'name' => $this->name,
5656
];
5757

58-
if ($this->arguments !== null) {
58+
if (! empty($this->arguments)) {
5959
$params['arguments'] = $this->arguments;
6060
}
6161

0 commit comments

Comments
 (0)