AgentOS Extensions API - v1.0.3
Preparing search index...
research/web-search/src
FactCheckTool
Class FactCheckTool
Implements
IAuthService
<
FactCheckInput
,
FactCheckOutput
>
Index
Constructors
constructor
Properties
category
description
display
Name
has
Side
Effects
id
input
Schema
name
required
Capabilities
Methods
execute
validate
Args
Constructors
constructor
new
FactCheckTool
(
searchService
:
SearchProviderService
,
defaultMultiSearch
?:
boolean
,
)
:
FactCheckTool
Parameters
searchService
:
SearchProviderService
defaultMultiSearch
:
boolean
= false
Returns
FactCheckTool
Properties
Readonly
category
category
:
"research"
= 'research'
Readonly
description
description
:
"Verify a statement against web sources and return a verdict with confidence."
= 'Verify a statement against web sources and return a verdict with confidence.'
Readonly
display
Name
displayName
:
"Fact Check"
= 'Fact Check'
Readonly
has
Side
Effects
hasSideEffects
:
false
Readonly
id
id
:
"fact-check-v1"
= 'fact-check-v1'
Readonly
input
Schema
inputSchema
:
JSONSchemaObject
= ...
Readonly
name
name
:
"fact_check"
= 'fact_check'
Tool call name used by the LLM / ToolExecutor.
Readonly
required
Capabilities
requiredCapabilities
:
string
[]
= ...
Methods
execute
execute
(
input
:
FactCheckInput
,
_context
:
ToolExecutionContext
,
)
:
Promise
<
ToolExecutionResult
<
FactCheckOutput
>
>
Parameters
input
:
FactCheckInput
_context
:
ToolExecutionContext
Returns
Promise
<
ToolExecutionResult
<
FactCheckOutput
>
>
validate
Args
validateArgs
(
input
:
Record
<
string
,
any
>
)
:
{
errors
?:
any
[]
;
isValid
:
boolean
}
Parameters
input
:
Record
<
string
,
any
>
Returns
{
errors
?:
any
[]
;
isValid
:
boolean
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
category
description
display
Name
has
Side
Effects
id
input
Schema
name
required
Capabilities
Methods
execute
validate
Args
AgentOS Extensions API - v1.0.3
Loading...
Tool call name used by the LLM / ToolExecutor.