MCPcopy Create free account

hub / github.com/ag2ai/build-with-ag2 / functions

Functions534 in github.com/ag2ai/build-with-ag2

Functionmark_as_read
Mark an email as read by removing the UNREAD label.
arcade/gmail-agent/main.py:167
Functionmark_as_unread
Mark an email as unread by adding the UNREAD label.
arcade/gmail-agent/main.py:175
Functionmark_itinerary_as_complete
Store and mark our itinerary as accepted by the customer.
travel-planner/main.py:121
Functionmark_one_email_as_read
(email_id: str)
email-management/main.py:200
Functionmodify_todo
( id: Annotated[int, "task id"], task: Annotated[str, "task description"], status: Annotated[str,
manage-todos-with-realtime-agent/todo_utils.py:48
Functionnew_question_asked
If a new question is asked, this tool will reset context variables and route to the basic_agent. Only call this if the user has just asked a new quest
tutorial/agent_pattern_cookbook/pattern_advanced_escalation.py:46
Functionnotebook_snapshot
(request: Request)
beta/mystery-dinner/app/server.py:112
Functionnotebook_stream
(request: Request)
beta/mystery-dinner/app/server.py:124
Functionon_change
(kind: str, payload: dict)
beta/mystery-dinner/app/server.py:127
Methodon_channel_event
(self, channel_id, kind, payload)
itops/orchestration/run_demo.py:805
Methodon_channel_event
(self, channel_id, kind, payload)
itops/it_ops_app/server.py:186
Methodon_envelope_posted
(self, envelope, metadata)
itops/orchestration/run_demo.py:773
Methodon_envelope_posted
(self, envelope, metadata)
itops/it_ops_app/server.py:162
FunctionopenInvestigation
(id)
itops/frontend/src/App.jsx:20
Functionpeek_recent_facts
Return the last N verified facts for awareness.
beta/mystery-dinner/app/agents/commentator.py:33
Functionpeek_recent_turns
Return the last N interrogation turns.
beta/mystery-dinner/app/agents/commentator.py:43
Functionping_host
Network specialist: ICMP ping a host.
itops/orchestration/run_demo.py:350
Functionplan_sections
Editor: plan the research outline with report sections.
ag-ui/gpt-researcher/server.py:177
Functionpost_recommendations
(steps: list[str])
itops/orchestration/test_e2e_workflow.py:93
Functionpost_recommendations
Post 3–5 concrete remediation steps to the ticket. This closes the diagnosis workflow and moves the ticket to Remediation_Recommended — a sepa
itops/orchestration/run_demo.py:425
Functionprepare_disk_replacement
Storage fixer: stage a failing disk for replacement. The physical hot-swap is DISRUPTIVE and requires operator sign-off before it runs.
itops/orchestration/run_demo.py:479
Functionpresent_for_review
Human Review: present research findings for human approval.
ag-ui/gpt-researcher/server.py:266
Functionproceed_to_triage
Intake decided this is not a duplicate; hand off to Triage.
itops/orchestration/test_e2e_workflow.py:64
Functionproceed_to_triage
Confirm this is not a duplicate; hand off to Triage.
itops/orchestration/run_demo.py:321
Functionprovide_events_info
Submit events information for the specified city and date range
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:85
Functionprovide_finance_response
Submit a response from the finance specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:202
Functionprovide_food_info
Submit dining recommendations for the specified city
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:113
Functionprovide_general_response
Submit a response from the general knowledge specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:248
Functionprovide_healthcare_response
Submit a response from the healthcare specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:225
Functionprovide_tech_response
Submit a response from the technology specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:179
Functionprovide_traffic_info
Submit traffic/transportation information for the specified city
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:99
Functionprovide_weather_info
Submit weather information for the specified city and date range
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:71
Functionquery_dossier
( source: str, start_time: str = "00:00", end_time: str = "23:59", )
beta/mystery-dinner/app/agents/suspect.py:80
Functionread_report_file
Read a file from the due diligence report directory. Pass the relative path (e.g. 'investors.json').
due-diligence-with-tinyfish/main.py:604
Functionread_text_file
Read a text file from the sandbox (first `max_bytes` bytes).
beta/data-analyst/backend.py:152
Functionrecord_agent_response
Record each nested agent's response, track completion, and prepare for evaluation
tutorial/agent_pattern_cookbook/pattern_advanced_redundant.py:271
Functionreducer
(state, action)
itops/frontend/src/live/BackendProvider.jsx:190
Methodrender_envelope
(self, envelope: Envelope)
itops/orchestration/parallel_workflow.py:535
Functionreply_all_to_email
Reply to all recipients of an email. - email_id: ID of the message to reply to - body: plain-text reply body
arcade/gmail-agent/main.py:231
Functionreply_to_email
Reply to an email (sender only). - email_id: ID of the message to reply to - body: plain-text reply body
arcade/gmail-agent/main.py:216
Functionrequest_clarification
Request clarification from the user when the query is ambiguous
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:272
Functionresearch_endpoint
Run the multi-agent pipeline and stream AG-UI events.
ag-ui/gpt-researcher/server.py:506
Methodreset
(self)
beta/mystery-dinner/app/memory.py:50
Methodreset
(self)
beta/mystery-dinner/app/game_master.py:42
Functionreset_game
(request: Request)
beta/mystery-dinner/app/server.py:105
Methodresolve
(self, state, envelope)
itops/orchestration/parallel_workflow.py:139
Functionrespond_endpoint
Accept human feedback and resume the paused pipeline.
ag-ui/gpt-researcher/server.py:675
Functionrestart_service
Infra fixer: restart a service on a host.
itops/orchestration/run_demo.py:464
Functionroute_to_finance_specialist
Route the current request to the finance specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:118
Functionroute_to_general_specialist
Route the current request to the general knowledge specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:157
Functionroute_to_healthcare_specialist
Route the current request to the healthcare specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:138
Functionroute_to_tech_specialist
Route the current request to the technology specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:99
Functionrun_agent
( message: RunAgentInput, accept: str | None = Header(None), )
ag-ui/factory/backend.py:180
Functionrun_inventory_check
Run the inventory check for the order
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:184
Functionrun_python
Execute Python code inside the Daytona sandbox. The sandbox has pandas, numpy, matplotlib, and seaborn pre-installed. Any plot you save under
beta/data-analyst/backend.py:102
Functionrun_validation_check
Run the validation check for the order
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:150
Functionsave_research_to_file
Save research content to a markdown file. Args: content (str): The research content to save (will be formatted as markdown) filen
dataroom-research/main.py:26
Functionschedule_posts
Schedule the marketing posts (email, LinkedIn, X) for publishing at the given time.
a2ui/flutter/backend.py:49
Functionscrape_and_summarize_yahoo_finance
Scrapes a Yahoo Finance article from the given URL and returns a summarized version. Parameters: - url (str): The URL of the Yahoo Finan
financial-analysis/main.py:124
Functionsearch_emails
Search emails by subject, body keywords, sender, or date range. - subject: words to find in the subject - body: words to find in the body
arcade/gmail-agent/main.py:141
Functionsend_email
Send a new email. - to: recipient email address - subject: email subject line - body: plain-text email body
arcade/gmail-agent/main.py:194
Functionserve_asset
(filename: str)
ag-ui/gpt-researcher/server.py:695
Functionserve_frontend
()
ag-ui/factory/backend.py:175
Functionserve_frontend
()
ag-ui/gpt-researcher/server.py:690
Functionserve_frontend
()
ag-ui/weather/backend.py:116
Functionserve_frontend
()
beta/data-analyst/backend.py:292
Functionserve_frontend
()
beta/ask-the-web/backend.py:164
Functionserve_image
(request)
a2ui/flutter/backend.py:182
Methodset_needs_human
( self, ticket_id: str, needs: bool, prompt: str = "" )
itops/orchestration/run_demo.py:234
Methodset_status
(self, ticket_id: str, status: str, note: str = "")
itops/it_ops_app/server.py:141
Functionset_upstream_timeout
Config fixer: adjust the nginx upstream timeout and reload.
itops/orchestration/run_demo.py:492
Functionsnapshot
()
itops/it_ops_app/server.py:387
Functionstart_chat
Endpoint to return the HTML page for audio chat.
manage-todos-with-realtime-agent/main.py:65
Functionstart_document_creation
Start the document creation feedback loop with a prompt and document type
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:73
Functionstart_order_processing
Start the order processing pipeline with provided order details JSON string
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:122
Functionstart_pool_scrub
Storage fixer: start a scrub/repair on a ZFS pool.
itops/orchestration/run_demo.py:473
Functionstate_transition
(last_speaker, groupchat)
automate-ml-for-kaggle/main.py:107
Functionsubmit_document_draft
Submit the document draft for review
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:149
Functionsubmit_document_plan
Submit the initial document plan
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:109
Functionsubmit_draft
( document: Annotated[str, "Full document draft in markdown"], context_variables: ContextVariables, )
ag-ui/factory/backend.py:72
Functionsubmit_feedback
Submit feedback on the document
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:204
Functionsubmit_final
( final_document: Annotated[str, "Finalized document in markdown"], context_variables: ContextVariable
ag-ui/factory/backend.py:142
Functionsubmit_findings
Each specialist submits its independent findings.
itops/orchestration/test_e2e_workflow.py:82
Functionsubmit_findings
Each specialist submits its independent findings after investigation. Once all assigned specialists have called this, the workflow joins to RC
itops/orchestration/run_demo.py:404
Functionsubmit_fix
Each fixer submits the outcome of its work. ``status`` is one of ``"applied"`` (done), ``"partial"`` (some steps pending), or ``"blocked_pendi
itops/orchestration/run_demo.py:507
Functionsubmit_plan
( outline: Annotated[str, "Structured outline with 3-5 sections and key points"], audience: Annotated[
ag-ui/factory/backend.py:54
Functionsubmit_rca
(root_cause: str, confidence: str)
itops/orchestration/test_e2e_workflow.py:88
Functionsubmit_rca
Submit the synthesised root cause analysis. ``confidence`` is one of ``"low"``, ``"medium"``, ``"high"``.
itops/orchestration/run_demo.py:415
Functionsubmit_review
( strengths: Annotated[str, "What the document does well"], improvements: Annotated[str, "Specific are
ag-ui/factory/backend.py:87
Functionsubmit_revised_document
Submit the revised document, which may lead to another feedback loop or finalization
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:246
Functionsubmit_revision
( revised_document: Annotated[ str, "Revised document incorporating reviewer feedback" ],
ag-ui/factory/backend.py:122
Functionsuspects_info
(request: Request)
beta/mystery-dinner/app/server.py:101
Functiontavily_search
Search the web. Returns a list of {title, url, content} dicts ranked by relevance.
beta/parallel-research/main.py:78
Functiontavily_search
Search the web. Returns a list of {title, url, content} dicts ranked by relevance. Use this first to discover candidate sources for a question.
beta/ask-the-web/backend.py:35
Functiontest_agent_responds
Test that the AG2 agent processes a message and returns a response.
gcp-agent-starter-pack/templates/ag2/tests/integration/test_agent.py:6
Functiontest_agent_uses_time_tool
Test that the agent correctly uses the time tool.
gcp-agent-starter-pack/templates/ag2/tests/integration/test_agent.py:54
Functiontest_agent_uses_weather_tool
Test that the agent correctly uses the weather tool.
gcp-agent-starter-pack/templates/ag2/tests/integration/test_agent.py:29
Functiontest_build_round_envelope_attaches_tool_args
Regression test for an issue surfaced by running real code: `_resolve_routing` in AG2 main does NOT populate `tool_args` on the routing dict —
itops/orchestration/test_parallel_workflow.py:621
Functiontest_dynamic_parallel_rejects_unknown_nickname
()
itops/orchestration/test_parallel_workflow.py:297
Functiontest_dynamic_parallel_target_populates_pending_set
Triage calls assign_specialists(["network", "storage"]) → fan-out.
itops/orchestration/test_parallel_workflow.py:256
← previousnext →401–500 of 534, ranked by callers