Agent Node Docs

JSON Formatter Tool Node

Formats a JSON string with indentation

JSON Formatter Tool Node

The JSON Formatter Node is responsible for formats a json string with indentation. This node allows the agent to provide informative data directly sourced from JSON Formatter.

Input Parameters

  • json_str: The JSON string to format.
  • indent: The number of spaces for indentation. Defaults to 4.

Output

dict: A dictionary containing the formatted JSON string.