MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_query_uses_documentdb_not_atlas_and_returns_extended_json
Verify native search stages and JSON serialization of BSON values.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:195
Methodtest_query_validation_case_insensitive
Test that query validation is case insensitive.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:187
Methodtest_query_validation_delete_denied
Test that DELETE queries are denied.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:215
Methodtest_query_validation_insert_denied
Test that INSERT queries are denied.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:197
Methodtest_query_validation_non_string
Test that non-string queries are rejected.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:223
Methodtest_query_validation_select_allowed
Test that SELECT queries are allowed.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:170
Methodtest_query_validation_show_allowed
Test that SHOW queries are allowed.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:179
Methodtest_query_validation_update_denied
Test that UPDATE queries are denied.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:207
Functiontest_queue_requires_opt_in_composed_state
()
lib/crewai/tests/test_flow_replies.py:232
Functiontest_quiet_conversation_keeps_a_failed_root
(monkeypatch)
lib/crewai/tests/telemetry/test_conversation_spans.py:121
Functiontest_quiet_turn_preserves_events_and_propagates_errors
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:119
Methodtest_quiet_user_flow_still_fires_boundary_hooks
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:177
Methodtest_quiet_user_flow_still_fires_step_hooks
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:251
Functiontest_quit_during_execution_rejects_late_consent
(monkeypatch, kind)
lib/cli/tests/test_trace_consent_session.py:272
Functiontest_quit_during_turn_discards_trace_after_worker_finishes
( monkeypatch, prior_turn )
lib/cli/tests/test_trace_consent_session.py:212
Functiontest_quit_rejects_pending_consent_and_releases_worker
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:163
Functiontest_quitting_at_the_key_prompt_counts_where_the_run_stopped
Ctrl-C or Ctrl-D at the prompt: the run stopped there, before kickoff.
lib/cli/tests/test_run_usage.py:1260
Functiontest_quota_limited_429_raises_immediately
A 429 with QUOTA_LIMITED is NOT retried — quota exhaustion is terminal.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:536
Functiontest_quote_identifier_preserves_caller_casing
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:760
Methodtest_quoted_delimiters_do_not_split_a_field
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:519
Functiontest_rag_tool_add_and_query
Test adding content and querying with RagTool.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:46
Functiontest_rag_tool_config_with_qdrant_and_azure_embeddings
Test RagTool with Qdrant vector DB and Azure embeddings config.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:275
Functiontest_rag_tool_initialization
Test that RagTool initializes with CrewAI adapter by default.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:23
Functiontest_rag_tool_no_results
Test RagTool when no relevant content is found.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:169
Functiontest_rag_tool_with_azure_config_without_env_vars
Test that RagTool accepts Azure config without requiring env vars. This test verifies the fix for the issue where RAG tools were ignoring the
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:190
Functiontest_rag_tool_with_custom_embeddings
Test RagTool with custom embeddings configuration to ensure no API calls.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:130
Functiontest_rag_tool_with_file
Test RagTool with file content.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:90
Functiontest_rag_tool_with_openai_config_without_env_vars
Test that RagTool accepts OpenAI config without requiring env vars.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:239
Methodtest_ragtool_azure_config
Test RagTool Azure config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:347
Methodtest_ragtool_cohere_config
Test RagTool Cohere config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:330
Methodtest_ragtool_google_generativeai_config
Test RagTool Google Generative AI config from ragtool.mdx.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:361
Methodtest_ragtool_jina_config
Test RagTool Jina config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:372
Methodtest_ragtool_ollama_config
Test RagTool Ollama config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:339
Methodtest_ragtool_openai_config
Test RagTool OpenAI config from ragtool.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:322
Methodtest_ragtool_openclip_config
Test documented OpenCLIP device strings are preserved.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:382
Methodtest_ragtool_sentence_transformer_config
Test RagTool SentenceTransformer config from ragtool.mdx. Parametrized over documented device strings to confirm each value is preser
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:395
Methodtest_raise_aborts_the_run
(self)
lib/crewai/tests/tools/test_tool_failure.py:366
Functiontest_raise_connection_failure_builds_auth_error_from_http_status
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:119
Functiontest_raise_connection_failure_falls_back_to_connection_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:136
Functiontest_raise_connection_failure_prefers_teardown_http_status
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:126
Functiontest_raise_connection_failure_reraises_typed_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:110
Methodtest_raise_policy_counts_before_it_aborts
(self, features: list[str])
lib/crewai/tests/tools/test_tool_failure.py:2475
Methodtest_raise_policy_still_aborts_at_the_limit
(self)
lib/crewai/tests/tools/test_tool_failure.py:1990
Methodtest_raise_policy_still_aborts_the_step
(self)
lib/crewai/tests/tools/test_tool_failure.py:2291
Methodtest_raise_policy_still_stops_the_crew
(self)
lib/crewai/tests/tools/test_tool_failure.py:2175
Functiontest_raise_policy_tool_still_aborts_the_flow
()
lib/crewai/tests/test_flow_tool_action_failure_policy.py:74
Methodtest_raised_tool_produces_a_failure_record
(self)
lib/crewai/tests/tools/test_tool_failure.py:624
Methodtest_raises_for_directory
Test that FilePath raises for directories.
lib/crewai/tests/utilities/test_files.py:100
Methodtest_raises_for_invalid_image
Test that bytes Pillow can't open as a supported format are refused.
lib/crewai-files/tests/processing/test_transformers.py:319
Methodtest_raises_for_missing_file
Test that FilePath raises for non-existent files.
lib/crewai/tests/utilities/test_files.py:95
Methodtest_raises_for_unknown_type
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:219
Methodtest_raises_when_no_openai_key_and_no_custom_fn
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:321
Methodtest_raises_without_pillow
Test that ProcessingDependencyError is raised without Pillow.
lib/crewai-files/tests/processing/test_transformers.py:108
Methodtest_raising_after_hook_does_not_skip_later_result_rewrites
( self, mock_tool, mock_agent )
lib/crewai/tests/hooks/test_tool_hooks.py:616
Methodtest_raising_before_hook_does_not_skip_later_hooks
Fail-open is per-hook: a crashing hook must not disable its neighbors. Regression guard for the dispatcher migration: previously the
lib/crewai/tests/hooks/test_llm_hooks.py:340
Methodtest_raising_before_hook_does_not_skip_later_hooks_or_block
( self, mock_tool, mock_agent )
lib/crewai/tests/hooks/test_tool_hooks.py:587
Functiontest_random_number_tool_invalid_range
()
lib/crewai/tests/tools/test_tool_usage.py:87
Functiontest_random_number_tool_range
()
lib/crewai/tests/tools/test_tool_usage.py:81
Functiontest_random_number_tool_schema
()
lib/crewai/tests/tools/test_tool_usage.py:93
Functiontest_rate_limit_disabled_when_zero
requests_per_second=0 disables rate limiting entirely.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:659
Functiontest_rate_limit_per_instance_independent
Each instance has its own rate-limit clock; a request on one does not delay the other.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:673
Functiontest_rate_limit_skips_sleep_when_enough_time_passed
No sleep when the elapsed time already exceeds the interval.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:644
Functiontest_rate_limit_sleeps_when_too_fast
Back-to-back calls within the interval trigger a sleep.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:626
Functiontest_rate_limits_are_not_treated_as_context_window_errors
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_llm.py:505
Functiontest_raw_false_calls_refine_response
With raw=False (the default), _refine_response transforms the API response.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:414
Methodtest_raw_legacy_outputs_property_remains_readable
(self)
lib/crewai/tests/test_checkpoint.py:698
Methodtest_raw_responses_item_uses_call_id_not_item_id
A raw function_call item carries both; only call_id can be correlated. function_call_output must reference call_id, so picking up the item's
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:78
Methodtest_re_emits_on_each_execution
Usage is per-execution, unlike activation which is idempotent.
lib/crewai/tests/events/test_skill_usage_events.py:132
Functiontest_re_validation_keeps_the_llm_a_kickoff_time_swap_set
()
lib/crewai/tests/test_llm_overlay.py:568
Functiontest_re_validation_of_an_existing_agent_does_not_read_the_overlay_again
The event bus registers an agent in its RuntimeState the first time it emits, which re-runs `post_init_setup` on the same object. Inside a block
lib/crewai/tests/test_llm_overlay.py:543
Methodtest_reaches_the_limit_and_records_a_repeated_call_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:1963
Methodtest_reaches_the_wire_through_the_llm_factory
gpt-oss looks like an OpenAI name to the factory, so it never flags it.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:503
Methodtest_reaches_the_wire_through_the_llm_factory
End to end: LLM(...) -> native provider -> request params.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:706
Functiontest_react_follow_up_after_tool_result_is_retried
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:427
Methodtest_react_path_reports_a_malformed_call
(self)
lib/crewai/tests/tools/test_tool_failure.py:1490
Functiontest_react_tool_hooks_receive_agent_text_and_raw_cached_typed_output
()
lib/crewai/tests/tools/test_tool_usage.py:206
Functiontest_react_tools_keep_classic_task_slice_in_prompt_slot
()
lib/crewai/tests/utilities/test_prompts_custom_templates.py:51
Methodtest_read_caches_content
Test that read() caches content.
lib/crewai-files/tests/test_file_url.py:102
Methodtest_read_fetches_content
Test that read() fetches content from URL.
lib/crewai-files/tests/test_file_url.py:87
Functiontest_read_last_run_reads_the_record_crewai_writes
(tmp_path)
lib/cli/tests/experimental/test_eval_crew.py:1590
Functiontest_read_only_contributor_still_requires_issue
()
lib/crewai/tests/ci/test_ftc_require_issue.py:150
Methodtest_read_only_cte_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:70
Functiontest_read_only_file_is_not_an_error
A read-only checkout must not break the command that called this.
lib/crewai/tests/telemetry/test_project_id.py:148
Methodtest_read_secure_file_exists
Test reading existing file.
lib/cli/tests/test_token_manager.py:239
Methodtest_read_secure_file_exists
Test reading existing file.
lib/crewai/tests/cli/test_token_manager.py:235
Methodtest_read_secure_file_not_exists
Test reading non-existent file returns None.
lib/cli/tests/test_token_manager.py:254
Methodtest_read_secure_file_not_exists
Test reading non-existent file returns None.
lib/crewai/tests/cli/test_token_manager.py:250
Methodtest_read_updates_content_type_from_response
Test that read() updates content type from response headers.
lib/crewai-files/tests/test_file_url.py:116
Functiontest_readers_block_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:95
Functiontest_reading_an_evaluation_says_this_cli_can_export_it
`can_export=1` lets the brief name `crewai eval export`: an AMP that does not know the parameter drops it, and the brief stays silent about it.
lib/cli/tests/test_plus_api.py:628
Functiontest_reading_llm_property_does_not_override_complexity_level
Reading the default LLM must not override later complexity selection.
lib/crewai-tools/tests/tools/test_vision_tool.py:82
Functiontest_reads_a_real_pdf_end_to_end
Real PDF bytes are extracted page by page.
lib/crewai-tools/tests/url_read_tool_test.py:365
Methodtest_reads_from_valid_cache
Test reading yanked status from a valid cache.
lib/cli/tests/test_version.py:303
Methodtest_reads_from_valid_cache
Test reading yanked status from a valid cache.
lib/crewai/tests/cli/test_version.py:267
Functiontest_reads_only_an_allowed_artifact
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:8
Functiontest_reads_plain_text
A text response is returned as-is, with the configured limits applied.
lib/crewai-tools/tests/url_read_tool_test.py:144
Methodtest_reads_sampling_params_off_self
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:192
Functiontest_reads_utf8_by_default
(tmp_path, monkeypatch)
lib/crewai-tools/tests/file_read_tool_test.py:416
Methodtest_reads_wait_for_a_free_slot_and_say_so_when_none_frees
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:380
Functiontest_real_documentdb_ingestion_index_and_ranked_search
Verify ingestion, IVF indexing, ranking, and optional result fields.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_e2e.py:92
← previousnext →17,101–17,200 of 19,663, ranked by callers