@mcp-z/client
Preparing search index...
ToolResponseWrapper
Class ToolResponseWrapper
Index
Constructors
constructor
Accessors
_
meta
content
is
Error
structured
Content
Methods
json
text
to
JSON
Constructors
constructor
new
ToolResponseWrapper
(
payload
:
{
[
key
:
string
]:
unknown
}
,
)
:
ToolResponseWrapper
Parameters
payload
:
{
[
key
:
string
]:
unknown
}
Returns
ToolResponseWrapper
Accessors
_
meta
get
_meta
()
:
{
[
key
:
string
]:
unknown
}
|
undefined
Returns
{
[
key
:
string
]:
unknown
}
|
undefined
content
get
content
()
:
(
{}
|
{}
|
{}
|
{}
|
{}
)
[]
Returns (
{}
|
{}
|
{}
|
{}
|
{}
)
[]
is
Error
get
isError
()
:
boolean
|
undefined
Returns
boolean
|
undefined
structured
Content
get
structuredContent
()
:
unknown
Returns
unknown
Methods
json
json
<
T
=
unknown
>
(
validator
?:
JsonValidator
<
T
>
)
:
T
Type Parameters
T
=
unknown
Parameters
Optional
validator
:
JsonValidator
<
T
>
Returns
T
text
text
()
:
string
Returns
string
to
JSON
toJSON
()
:
{
[
key
:
string
]:
unknown
}
Returns
{
[
key
:
string
]:
unknown
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
_
meta
content
is
Error
structured
Content
Methods
json
text
to
JSON
@mcp-z/client
Loading...