Skip to content

API Reference parrot_tools.employees

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.employees

View source

Employee Hierarchy Tool for AI-Parrot.

Provides employee hierarchy operations as a unified tool interface for AI agents and chatbots.

Class EmployeeAction

Available employee hierarchy actions.

Class EmployeesTool

Employee Hierarchy Tool for querying organizational structure.

This tool provides unified access to employee hierarchy operations through the EmployeeHierarchyManager interface. It supports various queries including:

  • Reporting relationships (managers, subordinates)
  • Peer relationships (colleagues)
  • Department and organizational context
  • Hierarchical comparisons
Parameter Type Default Description
hierarchy_manager EmployeeHierarchyManager Instance of EmployeeHierarchyManager
name Optional[str] None Tool name (default: "employees_hierarchy")
description Optional[str] None Tool description
**kwargs {} Additional arguments passed to AbstractTool

Attributes:

Attribute Type Description
name str
description str
return_direct bool

Class EmployeesToolArgsSchema

Arguments schema for EmployeesTool.

Attributes:

Attribute Type Description
action EmployeeAction
employee_id str
other_employee_id Optional[str]
include_details bool
max_depth Optional[int]

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally