Action#

class scikitplot.agent.Action(tool, arguments=<factory>)[source]#

A call the planner proposes: a tool name and its arguments.

Parameters:
toolstr

The tool’s name.

argumentsmapping, default={}

JSON arguments; converted to plain JSON (a tuple becomes a list).

Parameters:
arguments: Mapping[str, Any][source]#
to_dict()[source]#

Return a JSON-compatible mapping.

Return type:

dict[str, Any]

tool: str[source]#