Skip to content

Issue 10 — Create SpaceResearchTool Class #129

@adith-nr

Description

@adith-nr

The task is to implement SpaceResearchTool class that wraps the existing functions and can be imported by the planner or LLM agent.

Acceptance Criteria

  • Code is added in
    src/agents/research_tool.py

  • The file defines a class named SpaceResearchTool

  • The class contains:

    • A method nasa_image_search(query: str) -> dict
    • A method get_mission_details(name: str) -> dict
  • Both methods internally call the already existing standalone functions :

  • nasa_image_search

  • get_mission_details

  • The class must not implement new logic; it should only wrap the existing functions.

  • The class must follow this structure:

class SpaceResearchTool:

    def __init__(self):
        pass

    def nasa_image_search(self, query: str) -> dict:
        # call existing nasa_image_search(query)
        pass

    def get_mission_details(self, name: str) -> dict:
        # call existing get_mission_details(name)
        pass

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions