ProvideStringSubgraphResult
Provides an implementation of ProvideSubgraphResult
for handling StringSubgraphResult
.
This object is designed to facilitate the process of supplying subgraph results where the outcome is encapsulated as a string. It is used to verify and finalize task execution while providing any necessary additional information or error details related to the execution of the task.
Key functionality includes:
Serialization support for
StringSubgraphResult
using theargsSerializer
property.Specification and description of subgraph tooling behavior via the
descriptor
property.Execution logic that returns the input
StringSubgraphResult
as output without transformation.
Features:
The
descriptor
describes the tool as "finish_task_execution" and requires a parameter named "result" representing the task result.The
execute
method processes the input argument and returns the result.