MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_write_env_file_writes_utf8
(tmp_path, ascii_default_encoding)
lib/cli/tests/test_utils.py:265
Functiontest_write_lock_releases_on_exception
()
lib/crewai/tests/utilities/events/test_rw_lock.py:190
Functiontest_write_project_rejects_an_unknown_ref
(repo, tmp_path)
lib/devtools/tests/test_agents_md_eval.py:151
Functiontest_write_project_takes_the_file_at_the_ref_or_the_working_tree
(repo, tmp_path)
lib/devtools/tests/test_agents_md_eval.py:143
Methodtest_write_statements_blocked_by_default
(self, stmt: str)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:60
Methodtest_write_with_dml_enabled_does_commit
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:190
Functiontest_writer_blocks_other_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:72
Functiontest_writer_blocks_readers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:43
Functiontest_writers_are_serialised_so_a_stale_read_cannot_overwrite_a_newer_run
Two crews finish at once. Reading the file, deciding and replacing it are one step, so no writer can decide against a record another writer has al
lib/crewai/tests/telemetry/test_last_run.py:146
Functiontest_writes_utf8_by_default
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:419
Functiontest_wrong_json_shape_or_extension_raises
(tmp_path, name, content, message)
lib/crewai/tests/test_jev_evaluation_runner.py:407
Methodtest_wrong_path_in_the_same_run_lists_the_path_to_retry_with
( self, read_as: str, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3124
Functiontest_wrong_path_lists_the_readable_artifact_paths
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:33
Functiontest_xlsx_blank_rows_are_dropped
Excel reports generous dimensions; phantom rows must not pad the output.
lib/crewai-tools/tests/url_read_tool_test.py:664
Functiontest_xlsx_cells_are_csv_quoted_so_the_grid_survives
A comma, quote or newline inside a cell must not corrupt the row.
lib/crewai-tools/tests/url_read_tool_test.py:651
Functiontest_xlsx_formula_without_a_cached_value_reads_as_empty
data_only returns cached results, so an uncalculated formula is blank. Pinning this documents the trade: agents get "42" from a workbook Excel
lib/crewai-tools/tests/url_read_tool_test.py:788
Functiontest_xlsx_resolves_from_its_declared_type_and_its_extension
XLSX is reachable by all three routes, not only by sniffing.
lib/crewai-tools/tests/url_read_tool_test.py:643
Functiontest_xlsx_trailing_space_in_the_final_cell_survives
The rendered grid loses its line terminator, not the last cell's space.
lib/crewai-tools/tests/url_read_tool_test.py:733
Functiontest_xlsx_whitespace_only_values_survive
Padding is empty, not blank -- a cell the author filled with spaces stays. A bare rstrip() on the rendered grid would also eat a trailing space f
lib/crewai-tools/tests/url_read_tool_test.py:717
Functiontest_xlsx_with_no_cells_says_so_instead_of_returning_nothing
An empty workbook reports its emptiness rather than an empty string.
lib/crewai-tools/tests/url_read_tool_test.py:778
Methodtest_xml_file_not_found_raises_error
Test that non-existent XML file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:316
Functiontest_xml_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:127
Methodtest_xml_string
Test data_type='xml' with existing XML file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:155
Functiontest_yaml_constructor_keys_must_be_strings
(data_project, invalid_fields)
lib/crewai/tests/project/test_agent_project.py:327
Functiontest_yaml_uses_safe_loader
(data_project)
lib/crewai/tests/project/test_agent_project.py:251
Methodtest_yanked_version_with_reason
Test a yanked version returns True with reason.
lib/cli/tests/test_version.py:253
Methodtest_yanked_version_with_reason
Test a yanked version returns True with reason.
lib/crewai/tests/cli/test_version.py:217
Methodtest_yanked_version_without_reason
Test a yanked version returns True with empty reason.
lib/cli/tests/test_version.py:262
Methodtest_yanked_version_without_reason
Test a yanked version returns True with empty reason.
lib/crewai/tests/cli/test_version.py:226
Methodtest_yanked_warning_shows_when_version_is_yanked
Test yanked warning panel shows when current version is yanked.
lib/crewai/tests/cli/test_version.py:455
Methodtest_yanked_warning_shows_without_reason
Test yanked warning panel shows even without a reason.
lib/crewai/tests/cli/test_version.py:475
Functiontest_youtube_channel_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:232
Functiontest_youtube_video_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:198
Functiontest_zero_context_window_size_from_an_older_dump_means_unset
()
lib/crewai/tests/llms/test_context_window.py:684
Functiontest_zero_seconds_is_allowed
(tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:51
Methodtest_zero_threshold_returns_every_result
(self, cosine_client)
lib/crewai/tests/rag/qdrant/test_client.py:839
Functiontest_zip_claiming_to_be_both_docx_and_xlsx_is_refused
A package asserting two identities has not been positively identified.
lib/crewai-tools/tests/url_read_tool_test.py:766
Functiontest_zip_compression
(mock_prepare, mock_compress, mock_exists, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:33
Functiontest_zip_deploy_uploads_go_through_the_proxy
( proxy: _RecordingServer, machine: dict[str, str], project_zip: Path )
lib/crewai-core/tests/test_plus_api_proxy.py:267
Functiontest_zip_deploy_uploads_go_through_the_proxy_the_machine_names
( tmp_path, monkeypatch )
lib/cli/tests/test_plus_api.py:639
Methodtest_zip_deployment_is_read_before_source_type
(self)
lib/cli/tests/deploy/test_deploy_main.py:935
Methodtest_zip_deploys_send_the_project_id_when_there_is_one
( self, mock_make_multipart_request )
lib/cli/tests/test_plus_api.py:382
Functiontesting_tool
Useful for when you need to multiply two numbers together.
lib/crewai/tests/test_crew.py:2890
Functiontext_bytes
Load test text bytes.
lib/crewai/tests/test_agent_multimodal.py:77
Functiontext_bytes
Load test text bytes.
lib/crewai/tests/test_crew_multimodal.py:68
Functiontext_file
Create a TextFile from test fixture.
lib/crewai/tests/test_flow_multimodal.py:53
Functiontext_file
Create a TextFile from test fixture.
lib/crewai/tests/test_agent_multimodal.py:71
Functiontext_file
Create a TextFile from test fixture.
lib/crewai/tests/test_crew_multimodal.py:62
Methodtext_segment
(text: str)
lib/crewai/src/crewai/experimental/flow_turns.py:333
Functionthe_app_runs_and_evaluates
()
lib/cli/tests/experimental/test_eval_crew.py:2693
Functionthe_child
()
lib/cli/tests/test_crew_run_tui.py:678
Methodthird
(self, result)
lib/crewai/tests/events/test_event_ordering.py:736
Functionthird_guardrail
Third guardrail converts to uppercase.
lib/crewai/tests/test_task_guardrails.py:374
Methodto_config_dict
Extend base config with Gemini/Vertex-specific fields.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:220
Methodto_config_dict
Extend base config with Bedrock-specific fields.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:448
Methodto_config_dict
Extend base config with Anthropic-specific fields.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:435
Methodto_config_dict
Extend base config with OpenAI-specific fields.
lib/crewai/src/crewai/llms/providers/openai/completion.py:527
Methodto_dict
Convert pydantic_output to a dictionary.
lib/crewai/src/crewai/lite_agent_output.py:107
Methodto_dict
Serialize the definition to a declaration-ready dictionary.
lib/crewai/src/crewai/flow/flow_definition.py:806
Methodto_dict
Convert json_output and pydantic_output to a dictionary.
lib/crewai/src/crewai/crews/crew_output.py:74
Methodto_dict
(self)
lib/crewai/src/crewai/events/listeners/tracing/types.py:23
Functionto_input_messages
(messages: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:160
Methodto_json
Convert the structured output to JSON format. Returns: JSON string representation of the structured output
lib/crewai/src/crewai/utilities/internal_instructor.py:130
Methodto_json
Converts the event to a JSON-serializable dictionary. Args: exclude (set[str], optional): Set of keys to exclude from th
lib/crewai/src/crewai/events/base_events.py:89
Methodto_json
(self, exclude: set[str] | None = None)
lib/crewai/src/crewai/events/types/crew_events.py:29
Methodto_json
Convert text to a JSON dictionary. Args: current_attempt: Current attempt number for retry logic. Returns: D
lib/crewai/src/crewai/agents/agent_builder/utilities/base_output_converter.py:48
Methodto_json
(self, current_attempt: int = 1)
lib/crewai/tests/test_task_converter_output.py:14
Functionto_output_messages
(response: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:173
Methodto_pydantic
Convert text to a Pydantic model instance. Args: current_attempt: Current attempt number for retry logic. Returns:
lib/crewai/src/crewai/agents/agent_builder/utilities/base_output_converter.py:37
Methodto_pydantic_with_completion
(self)
lib/crewai/tests/llms/test_structured_output_multimodal.py:37
Methodto_security_scheme
Generate OAuth2SecurityScheme for AgentCard declaration. Creates an OAuth2SecurityScheme with appropriate flows based on the configur
lib/crewai/src/crewai/a2a/auth/server_schemes.py:637
Functionto_system_instructions
(value: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:209
Functionto_tool_call_result
(result: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:290
Functionto_tool_definitions
(tools: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:225
Methodtoken_usage
Token usage as a ``UsageMetrics`` object. Same attribute name and type as ``CrewOutput.token_usage``, so a usage accessor written for
lib/crewai/src/crewai/lite_agent_output.py:114
Functiontool
Provide an isolated tool with mocked database and embedding clients.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:21
Functiontool
()
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:11
Functiontool
()
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:8
Functiontool
()
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:20
Functiontool
()
lib/crewai-tools/tests/tools/test_file_writer_tool.py:10
Functiontool
(mock_rag_client: MagicMock)
lib/crewai-tools/tests/tools/rag/test_rag_tool_path_validation.py:22
Functiontool
Add tools to an agent project and manage Tool Repository tools.
lib/cli/src/crewai_cli/cli.py:1042
Functiontool
(func: Callable[P2, R2], /)
lib/crewai/src/crewai/tools/base_tool.py:705
Functiontool
Marks a method as a crew tool. Args: meth: The method to mark. Returns: A wrapped method marked as a tool with memoization.
lib/crewai/src/crewai/project/annotations.py:126
Methodtool
(self)
lib/crewai/src/crewai/tools/cache_tools/cache_tools.py:17
Functiontool_add
Add tools to the standalone agent project in the current directory. Pass references such as SerperDevTool, platform:gmail, or custom:my_tool,
lib/cli/src/crewai_cli/cli.py:1048
Functiontool_command
()
lib/cli/tests/tools/test_main.py:32
Functiontool_config
(mock_cluster, mock_embedding_function)
lib/crewai-tools/tests/tools/couchbase_tool_test.py:136
Functiontool_create
[Deprecated: use `crewai create tool`] Create a custom tool project.
lib/cli/src/crewai_cli/cli.py:1074
Methodtool_failures
Every tool failure recorded across all tasks, in task order. A crew can finish successfully with a non-empty list -- agents narrate a
lib/crewai/src/crewai/crews/crew_output.py:36
Methodtool_hook
(self, context)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:422
Functiontool_install
(handle: str)
lib/cli/src/crewai_cli/cli.py:1085
Functiontool_publish
(is_public: bool, force: bool)
lib/cli/src/crewai_cli/cli.py:1103
Functiontool_setup
Connect the agent definition's CrewAI Platform applications. Reads the platform tools listed in the agent definition, validates them on AMP,
lib/cli/src/crewai_cli/cli.py:1061
Methodtool_type
(self)
lib/crewai/src/crewai/tools/base_tool.py:230
Methodtool_wrapper
Wrapper function to adapt CrewAI tool calls to LangGraph format. Args: *args: Positional arguments for the tool.
lib/crewai/src/crewai/agents/agent_adapters/langgraph/langgraph_tool_adapter.py:55
Methodtools
The CrewAI tools available from the MCP server. Raises: ValueError: If the MCP server is not started. Returns:
lib/crewai-tools/src/crewai_tools/adapters/mcp_adapter.py:201
Methodtools
Iterate over tool execution frames.
lib/crewai/src/crewai/types/streaming.py:150
Methodtools
Iterate over tool execution frames.
lib/crewai/src/crewai/types/streaming.py:230
Functiontools_list
(mock_tool_1, mock_tool_2)
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:30
← previousnext →19,401–19,500 of 19,663, ranked by callers